Urgent help needed with class file platform transfer

Hi,
I am working at home on Java in the windows (2000) system. Now I have compiled a java source code which compiles fine. This is an applet and works fine.
However, when I am uploading the files( class files generated and the html file) to the Sun Unix system, the applet does not work. My first question is: Does this class file generated in Windows system not transferable in the Unix system?
At this point, I uploaded the java source file to the Unix system. The source file has been created in Textpad in the Windows environment. Now using telnet I used the javac command to compile the source file in Unix system. Now, I am seeing three errors which was not the case in the Windows environment? I have no idea why the same source code is working on one platform and producing error in another?
Any help is highly appreciated. Thanks. Regards.

What are the errors?

Similar Messages

  • Urgent help needed with un-removable junk mail that froze Mail!!

    Urgent help needed with un-removable junk mail that froze Mail?
    I had 7 junk mails come in this morning, 5 went straight to junk and 2 more I junked.
    When I clicked on the Junk folder to empty it, it froze Mail and I can't click on anything, I had to force quit Mail and re-open it. When it re-opens the Junk folder is selected and it is froze, I can't do anything.
    I repaired permissions, it did nothing.
    I re-booted my computer, on opening Mail the In folder was selected, when I selected Junk, again, it locks up Mail and I can't select them to delete them?
    Anyone know how I can delete these Junk mails from my Junk folder without having to open Mail to do it as it would appear this will be the only solution to the problem.

    Hi Nigel
    If you hold the Shift key when opening the mail app, it will start up without any folders selected & no emails showing. Hopefully this will enable you to start Mail ok.
    Then from the Mail menus - choose Mailbox-Erase Junk Mail . The problem mail should now be in the trash. If there's nothing you want to retain from the Trash, you should now choose Mailbox- Erase Deleted Messages....
    If you need to double-check the Trash for anything you might want to retain, then view the Trash folder first, before using Erase Junk Mail & move anything you wish to keep to another folder.
    The shift key starts Mail in a sort of Safe mode.

  • Help needed with jar file

    hi, first of all sorry if my post is in wrong forum...but my application is done using swing so i am posting this here....and regarding my question...
    I have made an GUI using Java swings and my application is working fine. Now i want to make an executable jar file for my GUI. I have read some tutorilas on making jar files and this is what i have done...
    i have created a manifest file called mainClass.txt which has
    Main-Class: MainWindow ,where MainWindow is my main class name.
    Then i ran the jar utility with this command line:
    jar cmf mainClass.txt example.jar *.class
    With this line, I told jar to create a JAR file (option c) with modifications to the manifest file (option m) as specified within mainClass.txt, naming the JAR file (option f) as example.jar and including everything that matches the pattern *Class
    everything is file till now but my problem is ...I have some library files from JFreechart software included in my GUI to generate barcharts..How can i include these library files in my example.jar file..
    Kindly help me
    Thanks
    byee

    I had this problem too. I ran my program out of JCreator and it worked flawlessly. I jarred it up into and Executable Jar and I would get a runtime error explaning I have not included the correct libraries.
    What I did was look at the error, for example say it said something like:
    org.uhoh.PathSys ClassDefNotFound (or something similar to this)
    What I did was extract the library that contained that class file. Then in my project file where I kept my classes I made the folder org, then in org I made uhoh. Inside uhoh I copied over PathSys.class.
    I hope I addressed the problem you speak of. I am only a novice but this is how I figured it out. If anyone knows a better way let us know =D

  • Some urgent help needed with MobileMe suddenly saying my password is wrong

    Hi
    First of all I want to say sorry if this is in the wrong forum, but I needed some urgent help and I couldn't find a forum other than this that might relate to this issue.
    The issue that I am having is with my MobileMe Account. I was on my Mac, when when my MobileMe Account suddenly dropped its connection and told me that I had entered the wrong username or password (I know I hadn't) I tried to re-enter them but every time I try I just get a message that says I have entered the wrong username or password. I no longer have access to my Mail, I can not sing-in to MobileMe to access my online account and it wont let me change the password because it keeps saying that safari can not open the page.
    I can not sign-in to my MobileMe folders on my Mac and it wont sync. I was signed in perfectly fine before this happened so I know its nothing to-do with my password or user name.
    I am now locked out of MobileMe and need some help as to what might have went wrong
    Can someone please give me some quick help as this is really worrying me as I am afraid my MobileMe account might of been hacked (that is the kind of behaviour that I am seeing - saying that my username and password are wrong, when they are not, and not letting me sign in to change them)
    Huge thanks

    Ughhh,
    it seems my panic was for nothing. I just ran apple 24 hour support and they put it right for me it cost me but I'd rather be safe and pay then loose all the information I have on MobileMe. This has taught me a lesson anyway, I need to keep a backup of everything and not just rely on time machine

  • Help needed with .asp files

    I am not sure what I am asking or what I need to do, so please bear with me, thanks.
    I am helping out with a site that has one dynamic page utilizing a database with an .mdb extension.
    Previously hosted on a site with ASP (not sure which version).
    New host has MySQL with PHP (?)
    I would like to be able to rework the one dynamic page in DW, using .php. I am not able to upload the .mdb file to my localhost MySql area.
    It all comes down to the database.....
    Is there a way to convert the .mdb file to one with an .sql extension?
    Or am I taking the wrong approach?
    Thanks,
    Melissa

    >Previously hosted on a site with ASP (not sure which version).
    >New host has MySQL with PHP (?)
    Are you sure the host doesn't also support .asp?
    >I  would like to be able to rework the one dynamic
    >page in DW, using .php.  I am not able to upload the
    >.mdb file to my localhost MySql area.
    An mdb file is MS Access. There are conversion utilities that will convert between the two dbms's, but if the schema is not complex you can simply build the new database in MySQL, export the data from access and then import it.

  • Help compiling with .class files

    I am using JGrasp and I am trying to compile a program that uses .class files instead of the .java files, but JGrasp will not recognize these at compile time. How do I get my program to compile with these .class files?

    I prefer using Jenuity:
    [http://www.nmmu.ac.za/jenuityIDE]
    It's much simpler to use than JGrasp and isn't nearly as confusing.
    For the record, you compile .java files into .class files. There is no need to "compile" existing .class files. If you have the class files you can run them from the command line. e.g. if you have a class file named Orange.class you should be able to type "java Orange" from the command line to run it. If Orange is inside a directory structure based on packages you may need to execute this command from just outside the 'highest" folder.
    If you just need to link to these class files, copy them into the "/jre/lib/ext" folder of your JDK.

  • URGENT - HELP NEEDED WITH ECC 6.0 ACCESS KEY and USER SETUP

    Please help me with the two issues:
    1) In ECC 6.0, When I go to SE12 , table V-FAGL_ACTIVEC (New GL Activation) to make the table display and maintenance allowed, I am asked for the access key. What is the access key that I am supposed to put here. When I go to DEVACCESS table and put my username, I still dont get the access key.
    2) Also I need to know what should be maintained under SU01 to give a user all authorizations. I have SAP_ALL and SAP_NEW. Is there anyother profile need to be given here. Also do I need to give anything under roles tab in order for the user to have all accesses??

    OK I have TAR for this:
    TAR 4234076.996
    and related issue discussed in regards to 500 Internal Server Error described on Neverending frustration with JDeveloper
    with the TAR number
    TAR 4332393.995
    The latter has been demonstrated and confirmed to be a BUG at this point. For the future updates on this issue please refer to
    Neverending frustration with JDeveloper

  • Urgent help need with 8i/9iAS install

    Hello,
    I need some help, preferably a summarized point list of how to install Oracle 8i and Oracle 9iAS to run WebDB (Portal). Is it required that I need some patches from Oracle?
    I am having a tough time trying to make the Portal work on my machine: (Win2000 pro/128 MB/P III ~866MHz
    Any help would be appreciated very much.
    Thanks in advance

    Hi! Here are some of the things that you need to do, in order to Install Portal.
    Questions you should ask yourself before installing Portal:
    1: Do you already have a Database to Start with. Oracle Portal Successfully installs on only Supports Enterprise Editions of Oracle 8.1.6 Edition and 8.1.7 (Both Standard and Enterprise Editions)
    2. If you already have a Oracle 8i Database, remember your sys password, as this is needed to install Oracle Portal. The database Listener(TNS Listener) should be up and running before installing Oracle Portal.
    3. If your Oracle 8i HTTP Listener( Which is Apache Server Listener which comes by default with every Oracle 8i installation) is Running, PLEASE SHUT THAT OFF OR CHANGE THE SETTING TO MANUAL MODE, or Remove that from the Services Directory, Since, this is just a Basic Apache Server which does not have any of the Pl/sql gateway's and/or other Gateway settings that are required for Installing Oracle Portal.
    4. If you have Oracle 8i Database, Increase the Following Settings to the below mentioned limits in your ini<SID>.ora file
    large_pool_size =60000000
    java_pool_size = 5000000
    shared_pool_size=6000000
    Space of "USERS" Table Space =200MB
    Space of "TEMP" Table Space =200MB
    Space of "SYSTEM" Table Space="600MB"
    Shut Down the Instance and Restart the instance in a Normal mode.
    5: Install Oracle IAS on a seperate Directory or Home than the Oracle 8i Home.
    6. Now you are ready to use Portal30 Configuration Assistent.
    Start the Configuration Assistent, Follow through the Steps and you should be able to install successfully.
    A Couple of Hints.
    Make sure the Computer Name you are installing Oracle Portal on is in Lower Case.
    Usually the installation takes a Couple of Hours depending upon your processor Speed and Memory available.
    Please check to See if there are any Errors in the Installation Logs.
    Check on Technet.oracle.com to see any Installation White Papers Out there.
    I hope this Helps
    Ram Kakani

  • JTAPI + Xtapi: Urgent help needed with compensation.

    Hi
    I'm new to jtapi. I'm using xtapi implementation with the following statements in Outcall.java sample code.
    import javax.telephony.*;
    import javax.telephony.events.*;
    //import MyOutCallObserver;
    public class Outcall {
      public static final void main(String args[]) {
        Provider myprovider = null;
        try {
          JtapiPeer peer = JtapiPeerFactory.getJtapiPeer("net.xtapi.XJtapiPeer");
          myprovider = peer.getProvider("MSTAPI");
        } catch (Exception excp) {
          System.out.println("Can't get Provider: " + excp.toString());
          System.exit(0);
        Address origaddr = null;
        Terminal origterm = null;
        try {
          origaddr = myprovider.getAddress("1");
          //Just get some Terminal on this Address
          Terminal[] terminals = origaddr.getTerminals();
          if (terminals == null) {
            System.out.println("No Terminals on Address.");
            System.exit(0);
          origterm = terminals[0];
        } catch (Exception excp) {
          // Handle exceptions;
        // Create the telephone call object and add an observer.
         Call mycall = null;
        try {
          mycall = myprovider.createCall();
          mycall.addObserver(new MyOutCallObserver());
        } catch (Exception excp) {
          // Handle exceptions
        try {
          Connection c[] = mycall.connect(origterm, origaddr, "5149372568");
        } catch (Exception excp) {
          System.out.println(excp.toString());
    }I have dowloaded all the jar files (xtapi.jar, mstapisp.jar, jtapi1.2.jar) and added to the library in Netbeans IDE. And i have put Xtapi.dll in the source folder (same as Outcall.java).
    When I run the project I get the following error and the program hangs execution without finishing.
    javax.telephony.InvalidArgumentException
    MyOutCallObserver.callChangedEvent
    java.lang.NullPointerException
    java.lang.NullPointerException
    I believe the above exception come is from the below line in the code.
    origaddr = myprovider.getAddress("1");
    The getAddress( ) of the provider class throws InvalidArgumentException. Can some one help me in solving the error?
    Is this error has anything to do with the my modem or the xtapi.inf file. I want to know how to get the contents for xtapi.inf file and where to place it. I'm using US Robotics Fax modem. I also tried the same code in a system wich has intel voice modem, but got the same error.
    If some one has a complete source code for java application, which can pick and answer phone calls. If it has a link from pbx to voip through the modem, it will be really great. I'm ready to buy the code from you if its is working.
    Thanks in advance for the help.
    Harun.

    Problem solved.
    Actually the exception doesn't affect the running of the program. The problem was solved when i reinstalled the modem driver and tried again.

  • Desperate help needed with writing files

    I need to know how i can write files with an applet to a directory so that i can retrieve the files for later use. I need to know how to do this step by step as i am a beginner. i've tried looking for tutorials and i just can't seem to get it working.
    can somebody PLEASE provide me with some valid info here as i'm sure that many others have exactly the same problem and can refer to this topic.
    much appreciated.
    thnx

    You will need a certificate to sign the Applet with.
    here is a rehash of the script I use to to this...
    CERTIFICATE_FILE_NAME is the name of your certificate file.
    c:\windows\.keystorefile is the path & name of your keystore
    jar cf  tmp.jar *.class *.gif *.jpg *.au
    jarsigner -keystore c:\windows\.keystorefile -signedjar YOUR_DESTJARNAME.jar tmp.jar  CERTIFICATE_FILE_NAME
    del tmp.jar
    del *.classThis is excatly what you need to do and your file writes will work.
    Now you may need to tweak your getImage to find the files within the
    jar but thats another story.
    (T)

  • Help needed with class accessing

    Hey, i have ran into another problem again.. The problem is accessing a class variable created in a different class from another class.
    Im reading an XML file with let's say
    class readXML(){
        Items item = new Items();
             //here im setting the variables.
        item.name = "something";
        item.level = "something else";
    class Items(){
        Vector<String> name = new Vector<String>();
        Vector<String> level = new Vector<String>();}And now a sepparate class what creates me an object of those variable with a loop.
    class makeTable(){
    //here i need to get the variables for the loop and to create object.
    readXML readXML = new readXML("test.xml");
    Object[][] data = new Object[3][24]; public void createObjects(){
    for (int j = 0; j < items.length; j++){
    data[j][0] = readXML.item.name.get(j); //<--- this does not work. But how can i do it?
    data[j][1] = exps[j];
    data[j][2] = levels[j];
    data[j][3] = getAmount(exps[j]);
    //System.out.println("itemname: " + data[j][0]);

    Ok, i explained it a bit wrong, ill copy the whole code.
    import javax.xml.parsers.*;
    import org.xml.sax.*;
    import org.xml.sax.helpers.*;
    import java.io.*;
    import java.util.Vector;
    public class ReadItems extends DefaultHandler{
              ReadItems(String filename){
              File input = new File(filename);
              SAXParserFactory factory = SAXParserFactory.newInstance();
              factory.setValidating(true);
              try{
                   SAXParser sax = factory.newSAXParser();
                   sax.parse(input, new ItemHandler());
              }catch (ParserConfigurationException pce){
                   System.out.println("Could not create parser.");
                   System.out.println(pce.getMessage());
              }catch (SAXException se){
                   System.out.println("Problem with SAX parser.");
                   System.out.println(se.getMessage());
              }catch (IOException ie){
                   System.out.println("Error reading file.");
                   System.out.println(ie.getMessage());
    class ItemHandler extends DefaultHandler{     
         static int READING_NAME = 1;
         static int READING_LEVEL = 2;
         static int READING_EXPPER = 3;
         static int READING_NOTHING = 0;
         int currentActivity = READING_NOTHING;
         Item item = new Item();
         ItemHandler(){
              super();
         public void startElement(String uri, String localname, String qName, Attributes attributes){
              if(qName.equals("name")){
                   currentActivity = READING_NAME;
              }else if (qName.equals("level")){
                   currentActivity = READING_LEVEL;
              }else if (qName.equals("expper")){
                   currentActivity = READING_EXPPER;
         public void characters(char[] ch, int start, int length){
              String value = new String(ch,start,length);
              if (currentActivity == READING_NAME){
                   item.name.add(value);
              if (currentActivity == READING_LEVEL){               
                   item.level.add(value);
              if (currentActivity == READING_EXPPER){
                   item.expper.add(value);
         public void endElement(String uri, String localname, String qName){
              /*if(qName.equals("item")){
                   System.out.println("Name: " + item.name);               
              }else if(qName.equals("level")){
                   System.out.println("Level: " + item.level);
    class Item {
         Vector<String> name = new Vector<String>();
         Vector<String> level = new Vector<String>();
         Vector<String> expper = new Vector<String>();     
    }Now i need to access the data from another class where i build a swing table.
    It has a method:
    public void createObjects(){
              for (int j = 0; j < items.length; j++){
                        data[j][0] = these should be the values of that name variable;
                        data[j][1] = this should be expper and so on.;
                        System.out.println("itemname: " + ih.item.name.get(0));
         }Im a bit confused on this

  • URGENT HELP NEEDED! sort files randomly

    Hi
    I'm a film student and my final project needs to be finished in less than a week! I have a series of images which I need to appear in a random order in my timeline in Final Cut Express. I used Automator to add a series of numbers to the beginning of each filename corresponding to when each image was created/modified, in the hope that that would reorder them, but since they were all exported from Final Cut in the first place they were all created and modified at pretty much exactly the same time, so that didn't really help. I read somewhere that if you know AppleScript it would be a matter of minutes to write a script that could add a string of random alphanumerical characters to the beginning of a series of filenames, but I don't know AppleScript and I don't have time to learn it. Does someone out there know of a solution?
    Many thanks!

    User Craig Smith over in the AppleScript forums provided me with this helpful little script, which solved my problem:
    set a to choose folder
    tell application "Finder"
    set all_Files to every file in folder a
    repeat with a_file in all_Files
    set a_file's name to ((random number from 100 to 999) as text) & a_file's name
    end repeat
    end tell
    Copy and paste it into Script Editor (/Applications/AppleScript), press "Compile" and then "Run", and it will ask you to choose a folder, all the files in which will then receive a random three-digit number between 100 and 999 to the beginning of their filenames. Handy!
    Message was edited by: Bacchus

  • Urgent help needed with Lucida Grande

    I have to use this font for a project, I can't get away with Lucida sans, it HAS to be Lucida Grande.
    I don't quite know what is going on but I have some text in Lucida Grande Regular which is all fine, I tried creating another text box but it's showing up as Lucida Grande Bold? I tried to change it to Regular but there's no option for it? When there is regular font right next to it?
    If this is something really simple I'm sorry! This is my first time using indesign, if it was my choice I would of used something I was more familiar with. The deadline is on Friday so it's urgent I get help so it doesn't get presented half bold half not.
    Using CS5, on Windows Vista

    Yes that's fine. Unfortunately is doens't show something obviously out of the ordinary.
    I gues the next ting is to see if the font is available in a new document. If it is, try this on the one giving you trouble: Remove minor corruption by exporting
    If not, you should look at: Replace Your Preferences

  • Urgent Help Needed with missing frames

    Hi guys
    I have a student with an urgent problem that I can't seem to fix.
    The student is making a film having shot it on mini DV tape. He has been editing the film in Adobe Premiere Pro CS5.5, editing sections in different sequences.
    The problem he is having is when he moves a selection of clips on his timeline random frames or half frames disappear, leaving a very quick flash to black.
    I cant work out why the frames are disappearing when moving clips up and down the timeline, any suggestions?
    Thanks
    SteveG

    The settings for a sequence cannot be changed once it is created.
    If source footage is being interpreted wrongly, right-click the source file on the project panel and choose Modify > Interpret Footage. You can now create a new sequence that matches the real properties of your footage.
    Dragging one sequence into another won't cure the problem; you have to copy the footage from the timeline into the new sequence so it reverts to the new sequence frame rate (assuming the footage has been defined properly in the project panel it will then be correct).

  • Urgent help needed with installation of Logic!

    Hi I just installed Logic Pro 9 on the Macbook Pro I bought today and it failed because 'this version of OSX is not compatible with Logic 9.1.1.' What should I do? Two years ago I installed the same version on my previous Macbook. Both Apple and the reseller said it was going to be fine. Please help me as quickly as possible. I need to use it in a couple of hours...thanks. Xavier

    Restart your Mac and Run Software update

Maybe you are looking for

  • In portal after clicking the search field of table UI popup  is not coming

    Hi Experts, I have a problem in portal . In "RecordWorkingTime" when I select any search field of this table Ui  it is refreshing for unlimited time  period and the pop up window is not coming . Can you suggest me any possible solution for this stran

  • Creating an XML document from a DTD in Java

    Hi All, I need help on the following requirement very badly. Pls help me. I have a requirement to implement with java and XML. I am quit new to XML.Can any of you pls help me. I have a DTD file. I need to generate XML document from it using java code

  • To maintain default values in generation of operation

    HI Experts While converting planned orders co41 planned orders are not getting converted to production orders.The error is no default values maintained for generation of operation 1)There are different order types hence in OPPQ we cannot maintain sin

  • ISU-FICA fill profit center (PRCTR) in table EVER

    hello, I'm looking for the way how table EVER (contract master data) is filled with the profit center field (PRCTR) Thought this was done via transaction ES21 (contract change) but no trace of the profit center field. Anyone any idea how to fill this

  • Can I backup my applications such as fcpx and motion?

    Can I backup my applications such as fcpx, motion, compressor, aperture, photoshop, and pages from my boot drive to my optibay drive and then move them back to my boot drive in case the original copies get damaged or deleted from my boot drive? (and