Applet.java file which used to compile, now does not

I cannot re-compile a java file which I used to compile many times.
It keeps saying:
error: cannot read PopupNavigatorApplet.java
1 error
I extracted the original from the archive - the same result
What might be wrong?

Perhaps you don't have the rights to access the file in the filesystem? Are you working on *nix or Windoze (or any other)? Is your classpath set properly (including the current working directory '.')?
So many questions and no answers.. ;o)
cheers,
kelysar

Similar Messages

  • IChat used to work, now does not.. same chat partner even....

    Ok, this is REALLY weird.
    Some details-
    Me Leopard 10.5.2
    Firewall= iChat enabled
    Quicktime= None (streaming band width)
    Internet sharing OFF
    Links sys wireless router WRT54GSV4
    Enabled Both UDP/TCP on 5190, 5678, 16384-16403
    Enabled UDP only on 5060
    nothing set up for 5220, 5222 (jabber- dont use it)
    nothing set up for 5297-5298 (internal communication, not needed to outside world for iChat)
    Router running in gateway mode with udpnp enabled.
    Router serving as DHCP server computer is always getting internal address of 192.168.1.101
    Cable modem plugs into router and thats it for the network.
    NO I DO NOT have 101 devices... we just started at 100 for IP assigning (we have 2 computers, 1 PC 1 MAC)
    Now, sad story please read on and offer your help.
    I WAS (past tense) able to chat with another family member in VT who is also running leopard and who is using a NetGear wireless router (known good for iChat) .
    Here is the story, sorry it is long but I hope someone will spot what I missed if I give enough details.
    Prior to december 21st I was using my setup (leopard see above) and was chatting (always VIDEO) with parents in MN as well as other relatives in VT (we live in UT). Both of these people were running tiger, both using netgear wireless routers (different ISP obviously). Had an issue chatting to the individual in VT at first, but changed their iChat preferences under accounts to use port 1080 for the aim oscar login (from 5190) and it worked every time from then out... good nuff...
    So, I go to MN for Xmas and find out we cannot chat from their computer to the one in VT, both were tiger... turns out I was upgrading the MN computer to leopard for Xmas... so I upgrade and its still not working. I went into the net gear router and endabled TCP and UDP on ALL the ports I listed for my set up (ALL Of them, even the Jabber and "Internal" ports). I set up the leopard firewall to enable iChat and set the quick time etc etc... and whalla it worked to chat to VT, but only if we the same computer initiated the chat, i.e. had to be from MN (leopard)===> VT (tiger) (I THINK... **** wish I remembered this).
    ANyhow, we did not care, it was a temporary thing (my wife wanted to chat with her sister) so those computers did not really need to chat much and it was good enough for us ....
    Now... we fly back to our house (NO ONE WAS THERE i.e nothing changed on the computer) and now we cannot chat to VT (runing tiger) but we could 8 days ago. So, I looked into the error messages... it initiates, starts and then ends the chats with an error -7 message and later yeilds an error -8. I know the -7 can be a time out so I check our true speed and found at least 1Mbps both here and in VT. I figured maybe a security update changed something either in leopard or tiger, so I carefully configured my firewall, quicktime, and router (as well, no one is internet sharing) and everything else I could think of (even switched off DHCP for a while) to NO avail. After all this I confirmed (1 minute ago) that I CAN chat back to MN which is now upgraded to leopard with the NetGear wireless router and all the ports open etc etc...
    The computer in VT has the usual set up with the 10.4 firewall ports enabled according to the Apple SOP (read the document in apple support if you need to know what this looks like). It also is not internet sharing, its quicktime is enabled and the et gear router appears appropriately configured with TCP and UDP enabled on ALL the ports I listed under my set up (ALL OF THEM just in case)
    I have tried enabling ALL of the ports (i.e. the jaber and internal ports.. but this is pretty stupid on my end since I am using LEOPARD and it only requires a single port to chat (starts at 16384 and goes up to 16403 until it finds one open), but I was not sure what happens with a leopard - tiger iChat so I tried it, still broken.
    One potential clue (or a red herring?). My sister-in-law HAS to use port 1080 for the AIM login, if she tries 5190 she gets kicked of AIM immediately (YES her firewall is configured to let that out as well as the portforward (TCP and UDP) is configured on the netgear wireless router. This seems strange to me and I almost want to call her and double triple check that she has all this correct.. but IT WORKED 8 days ago (we used it literally 3-4 + days a week, it working was NOT a fluke).
    Anyhow, sorry for the book. Any and all help appreciated I have tried to do my homework but am now stumped and hope I did not miss anything super obvious.
    me
    SO. . . .
    What changed?
    What is left to "fix" and most important
    Who broke this so I can hunt them down (just kidding)... but seriously, what gives. Am I missing something OBVIOUS... like apple said we broke tiger too leopard chats and you have to buy leopard or something else reminiscent of the iPhone story (sorry, inappropriate jab, I just beat myself).

    Ok- obviously I was tired and did not communicate.
    Here is the simplified problem.
    We live in UT, my parents live in MN, my wifes sister and parents live in VT.
    3 computers
    UT= 10.5.1 iMac silver case new computer purchased with 10.5.0 and IMMEDIATELY upgraded to 10.5.1 prior to running a single app. LinkSys wireless running in gateway mode.
    VT= Leopard iMac core duo white (last years) with NetGear wireless adapter
    MN= Leopard iMac core duo white (last years) with NetGear wireless adapter
    This is how it was prior to Christmas
    WE left UT and flew to MN where one of the iMacs lives. We were able to (FINALLY) chat with the VT iMAC (still running leopard) after UPRGADING the MN iMAC to Leopard version 10.5.1 and making some changes to the router and Mac Firewall as well as quicktime streaming settings. Then the chat would work from MN-VT.
    We FLEW home to UT, where our leopard iMac had been sitting gathering dust for 8 days. It no longer can chat with VT, but it can chat perfectly well with the MN computer, which of course is now running leopard 10.5.1
    So- I can assure you nothing changed on my computer while I was sitting in MN eating Xmas dinner and the computer sat in an empty house in Utah. Nothing, I am told, changed on the computer in VT.. and I can still chat to MN
    I tried to mark my replies with an asterics, strangely they are in the message when I try to edit it but I do not see them all in the post... so if you see them great... if not you will have to read to find my replies... sorry.
    OK Solution(s)
    Get all the routers set to do UPnP
    *all ready there
    On the Linksys this is in Adminstration.
    Disable then Delete all the Port Forwarding you have set and Save Settings.
    * this seems strange most iChat communication help messages start with the individual being told to put this in place. Tell me why this should be done, I am curious what you think is the issue here.
    In the Netgears it (UPnP) should be in it's Own menu.
    Delete (As there is no Disable) the Port Forwarding settings.
    Save settings
    * Again, I will try this since it obviously did not solve the problem but again, I am curious what you think the core issue is here.
    In the Linksys go to the Security page and Disable the Anonymous Ping Blocking
    Save Settings.
    *No anonymous ping blocking setting there... but I disabled the filter anonymous requests line.
    In the Netgear go the WAN pages and Disable the Dos (or SPI) line. It is a Check to Do this.
    Also check the Box to Respond to Pings on the WAN port
    Save Settings
    Yes it is a good idea on the Tiger computers to have the Firewall On and the ports set.
    TCP 5190, 5220, 5222, 5223, 5298
    UDP 5060, 5190, 5297, 5298, 5353, 5678 16384-16403
    (this will include the ports from Leopard machines)
    http://docs.info.apple.com/article.html?artnum=93208
    *Yes, I concur with your statement, this is why I told everyone this is what I have set up, its in the apple recommendations for iChat.
    It is better that the Leopard Firewall is On and set to Allow Specific apps ans services.
    If set before the 10.5.1 Update then delete the apps in the list.
    Set to Allow All.
    The set to Allow Specifics and re-add apps
    This is because of a problem with the 10.5 firewall and settings being held over.
    *not an issue, computer purchased with 10.5.0 and immediately upgraded but I all ready tried this anyhow, and its not the fix.
    The port iChat uses to Login for the AIM server can be changed when not logged into AIM.
    WE suggest port 443 as it is also used for Secure mail. In Tiger it means the port is likely to be open in the firewall for another app and not need setting.
    *Great, that makes sense, thanks for your informative response.. I like to know why I am doing things, it makes me that much better fixing my own issues. Seriously
    In Leopard the firewall works by Application and it will open any port the app uses. (it gets a"certificate" from the firewall).
    * I sorta figured it worked this way or in some similar fashion when I configured it to allow iChat, this again makes sense but it is all ready in place.
    In fact it is possible to log in to the AIM server on virtually any port.
    *OK, for another time but is this relevant... why is it that the VT computer can log into AIM using 1080 but NOT 5190.. odd.. anyhow no need to reply if this is not relevant to me being unable to chat to VT but if you consider it worth pursuing let me know.
    Some find for Tiger/iChat 3 that separating the UDP and TCP bits of port 5190 helps
    *I will check this on her MAC firewall settings over the phone.
    I think I have got most of this.
    *My bad, it was a rather confusing post.. I hope I clarified
    Thanks for you help so far.
    Basically simplify things in the routers first.
    Then recheck your Leopard settings as
    1) you have miss-named them
    2) possibly referred to other places
    3) have not mentioned half of them.
    Which other half would you be interested in?
    I am making the changes and will reconfirm everything above and post my chat status... working with computers now.
    Message was edited by: Rufessor

  • How to run java file by using another applet file  ??

    how to compile and run java file by using another applet or japplet file .

    how to understand what you are talking about.

  • How to compile a java file which is in memory?

    how to compile a java file which is in memory?
    such as:
    String s="class MyClass {....}";
    how to compile the string?
    thx

    come on ...That was a perfectly valid solution.
    Do you know how to call the sun.* compiler? If not then search the forums for it. If that interface still exists (which it might not in newer versions) you then will create a string stream from your class and pass it to that.

  • Find out which java files really needed to compile

    Hi,
    I wan't to create WebStart jar files from a big library. Most times I only need a part of the lib (e.g. 30%). It is overhead to complie and pack the hole library.
    I need a tool (favor for ant) - I can give a hand full of "initial java files" and it give me back a list of java files I have to compile and pack to run without ClassNotFound Exception.
    This expects dynamic class loading.
    Have you the same problem or solved this problem?
    Using ant it is only possible to select a bundle of java classes and it is comiling exactly this classes :-/

    You could use the verbose option while compiling. It will list the dependent source files that are required during compilation.
    For command line, javac ... -verbose
    From ant, you could specify verbose="yes" withing the <javac> task. :)

  • HT3775 hey guys i have recorded on photobooth some .mov files which i cant  play now on quick time player. any possible reasons...!!?? any other player that i should be able to play with..??

    hey guys i have recorded on photobooth some .mov files which i cant  play now on quick time player. any possible reasons...!!?? any other player that i should be able to play with..??

    See my answere to your post in the Mt. Lion forum.

  • Applet compiles but does not appear...

    the applet compiles but does not appear :(
    all that appears is a blank box...hopefully someone can help
    import java.awt.*;
    import java.applet.*;
    import java.awt.event.*;
    public class program2 extends Applet implements ActionListener
         private Button btLeft, btRight, btUp, btDown, btBgYellow,
         btBgRed, btBgBlue, btBgOrange, btTxtRed,btTxtYellow, btTxtBlue,
         btTxtOrange, btFtHel, btFtCr, btFtTr, btFtSy;
         private MessagePanel messagePanel;
         private Panel p = new Panel();
         public void init()
              p.setLayout(new BorderLayout());
              messagePanel = new MessagePanel("Java is Life");
              messagePanel.setBackground(Color.white);
              //directional buttons
              Panel pButtons = new Panel();
              pButtons.setLayout(new FlowLayout());
              pButtons.add(btLeft = new Button());
              pButtons.add(btRight = new Button());
              pButtons.add(btUp = new Button());
              pButtons.add(btDown = new Button());
              //Background buttons
              Panel BgButtons = new Panel();
              BgButtons.setLayout(new FlowLayout());
              BgButtons.add(btBgRed = new Button());
              btBgRed.setBackground(Color.red);
              BgButtons.add(btBgYellow = new Button());
              btBgYellow.setBackground(Color.yellow);
              BgButtons.add(btBgBlue = new Button());
              btBgBlue.setBackground(Color.blue);
              BgButtons.add(btBgOrange = new Button());
              btBgOrange.setBackground(Color.orange);
              //text color buttons
              Panel txtButtons = new Panel();
              txtButtons.setLayout(new GridLayout(4,1));
              txtButtons.add(btTxtRed = new Button());
              btTxtRed.setBackground(Color.red);
              txtButtons.add(btTxtYellow = new Button());
              btTxtYellow.setBackground(Color.yellow);
              txtButtons.add(btTxtBlue = new Button());
              btTxtBlue.setBackground(Color.blue);
              txtButtons.add(btTxtOrange = new Button());
              btTxtOrange.setBackground(Color.orange);
              //font buttons
              Panel ftButtons = new Panel();
              ftButtons.setLayout(new GridLayout(4,1));
              ftButtons.add(btFtHel = new Button());
              ftButtons.add(btFtCr = new Button());
              ftButtons.add(btFtTr = new Button());
              ftButtons.add(btFtSy = new Button());
              //layout
              p.add(messagePanel, BorderLayout.CENTER);//set center 1st
              p.add(pButtons, BorderLayout.SOUTH);
              p.add(BgButtons, BorderLayout.NORTH);
              p.add(txtButtons, BorderLayout.EAST);
              p.add(ftButtons, BorderLayout.WEST);
              //listeners
              btLeft.addActionListener(this);
              btRight.addActionListener(this);
              btUp.addActionListener(this);
              btDown.addActionListener(this);
              btBgRed.addActionListener(this);
              btBgYellow.addActionListener(this);
              btBgBlue.addActionListener(this);
              btBgOrange.addActionListener(this);
              btTxtRed.addActionListener(this);
              btTxtYellow.addActionListener(this);
              btTxtBlue.addActionListener(this);
              btTxtOrange.addActionListener(this);
              btFtHel.addActionListener(this);
              btFtCr.addActionListener(this);
              btFtTr.addActionListener(this);
              btFtSy.addActionListener(this);
         //implement listener
         public void actionPerformed(ActionEvent e)
              if(e.getSource() == btLeft)
                   left();
              else if(e.getSource() == btRight)
                   right();
              else if(e.getSource() == btUp)
                   up();
              else if(e.getSource() == btDown)
                   down();
              else if(e.getSource() == btBgRed)
                   red();
              else if(e.getSource() == btBgYellow)
                   yellow();
              else if(e.getSource() == btBgBlue)
                   blue();
              else if(e.getSource() == btBgOrange)
                   orange();
              else if(e.getSource() == btTxtRed)
                   redText();
              else if(e.getSource() == btTxtYellow)
                   yellowText();
              else if(e.getSource() == btTxtBlue)
                   blueText();
              else if(e.getSource() == btTxtOrange)
                   orangeText();
              else if(e.getSource() == btFtHel)
                   helvetica();
              else if(e.getSource() == btFtCr)
                   courier();
              else if(e.getSource() == btFtTr)
                   times();
              else if(e.getSource() == btFtSy)
                   symbol();
         //directional methods :0)
         private void left()
              int x = messagePanel.getXCoordinate();
              if(x > 10)
                   messagePanel.setXCoordinate(x - 10);
                   messagePanel.repaint();
         private void right()
              int x = messagePanel.getXCoordinate();
              if(x < (getSize().width - 5))
                   messagePanel.setXCoordinate(x + 5);
                   messagePanel.repaint();
         private void up()
              int y = messagePanel.getYCoordinate();
              if(y < (getSize().height - 10))
                   messagePanel.setYCoordinate(y - 10);
                   messagePanel.repaint();
         private void down()
              int y = messagePanel.getYCoordinate();
              if(y < (getSize().height + 10))
                   messagePanel.setYCoordinate(y + 10);
                   messagePanel.repaint();
         //background methods :)
         private void red()
              messagePanel.setBackground(Color.red);
         private void yellow()
              messagePanel.setBackground(Color.yellow);
         private void blue()
              messagePanel.setBackground(Color.blue);
         private void orange()
              messagePanel.setBackground(Color.orange);
         //text color methods :)
         private void redText()
              messagePanel.setForeground(Color.red);
         private void yellowText()
              messagePanel.setForeground(Color.yellow);
         private void blueText()
              messagePanel.setForeground(Color.blue);
         private void orangeText()
              messagePanel.setForeground(Color.orange);
         private void helvetica()
              Font myfont = new Font("Helvetica", Font.PLAIN,12);
              messagePanel.setFont(myfont);
         private void courier()
              Font myfont = new Font("Courier", Font.PLAIN,12);
              messagePanel.setFont(myfont);
         private void times()
              Font myfont = new Font("TimesRoman", Font.PLAIN,12);
              messagePanel.setFont(myfont);
         private void symbol()
              Font myfont = new Font("Symbol", Font.PLAIN,12);
              messagePanel.setFont(myfont);

    You add everything to the Panel p but you never add that panel to the applet. What you probably want is to add everything to the applet. An applet is a special kind of panel so you can just change "p" to "this" everywhere in init and remove the declaration of p at the top.

  • I have been using Adobe Photoshop Elements on an older Mac...just bought Mac Mini and migrated all my files...but 4.0 Does not work....can I upgrade PSE 4.0 to PSE 13?

    I have been using Adobe Photoshop Elements on an older Mac...just bought Mac Mini and migrated all my files...but 4.0 Does not work....can I upgrade PSE 4.0 to PSE 13?

    Yes, any version of PSE qualifies for upgrade pricing, but if you're in the US you might want to consider running the trial  for now and waiting for the black friday specials, when the full version will be a lot less than the adobe upgrade price.

  • I have backed my Mac Book pro up to my external hard drive using time machine. My iPhoto now does not show any images, even when I upload from my iPhone

    I have backed my Mac Book pro up to my external hard drive using time machine. My iPhoto now does not show any images, even when I upload from my iPhone

    Mac 101: File Sharing
    Mac OS X 10.7 Help: Transfer files between two Mac computers
    Mac OS X 10.7 Help: Set up a Windows computer to share files with Mac users
    Mac OS X 10.7 Help: Use iDisk to share files
    Mac OS X: Sharing your files with non-Apple computers
    How to share a Mac's files with a PC and vice versa.

  • I have produced a number of DVD on my iMac. They are stored in a folder called Burn Folder. I want to get them into iTunes so I can play them on Apple TV. I have tried to convert them to MP4s using Handbrake but Handbrake does not recognize these files.

    I have produced a number of DVD on my iMac. They are stored in a folder called Burn Folder. I want to get them into iTunes so I can play them on Apple TV. I have tried to convert them to MP4s using Handbrake but Handbrake does not recognize these files. I am stumped.

    If you have the original movie files, you'd be much better converting those, otherwise try MPEGstreamclip.

  • My Ipad did work on my wireless at home and works on other wireless but no longer at home. My IPhone works at home and others can use the wireless Confused that it did work and now does not?

    My Ipad did work on my wireless at home and works on other wireless but no longer at home. My IPhone works at home and others can use the wireless> Confused that it did work and now does not?

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    Additional things to try.
    Turn Off your iPad. Then turn Off the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    On your iPad go to Settings > General > Reset > Reset network settings and see if that enables you to connect.
     Cheers, Tom

  • HT1339 my older iPod my husband wants to use and his netbook does not have cd drive. How do I down load iPod and iTunes info for this product so he can now use it?

    my older iPod my husband wants to use and his netbook does not have cd drive. How do I down load iPod and iTunes info for this product so he can now use it?

    Your question(s) is/are a little hard to understand.  So your husband has an iPod as well as a netbook and he wants to be able to sync iPod with this netbook is that correct?  If so, he'll need to first download and install iTunes assuming the netbook is running some version of Windows such as 7, Vista, or XP.
    http://www.apple.com/itunes/download/
    As for importing or ripping music, he'll have to either use an external CD/DVD drive that is attached via USB or rip the songs to another PC you have with a built in CD/DVD drive.  Once you have imported them to the other computer, you can transfer the songs to an external hard drive or to his iTunes library via Home Sharing.
    If this isn't quite what you were looking for, please clarify.
    B-rock

  • HT3702 I purchased a book called Activity-based costing for $3.99. I tried to open the file but it said my computer does not have IOS. I have a smartphone and I am unable to view the book. I am requesting since I am unable to use the book activity-base co

    I purchased a book called Activity-based costing for $3.99. I tried to open the file but it said my computer does not have IOS. I have a smartphone and I am unable to view the book. I am requesting since I am unable to use the book activity-base costing, a refund.
    Kevin

    I don't know what you are saying. How do I get my money refunded.

  • Program compiles, but does not run

    To: XCode Users <[email protected]>
    From: Brigit Ananya <[email protected]>
    Subject: Program compiles, but does not run
    I am trying to port a Java application from the PC to the Mac. I am using XCode and the program compiles, but it does not run.
    When I try to run the ...app, I get the message that the main class is not specified, etc.
    When I try to run the ...jar, I do not get the message that the main class is not specified, but I do get the message that there is no Manifest section for bouncycastle, etc.
    Here are the detailed messages I get in the Console when I try to run the program:
    When I try to run the ...app, I get the following message:
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] [LaunchRunner Error] No main class specified
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] Exception in thread "main" java.lang.NullPointerException
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] at apple.launcher.LaunchRunner.run(LaunchRunner.java:112)
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
    When I try to run the ...jar, I do get the following message:
    1/9/09 7:22:43 AM [0x0-0x8d08d].com.apple.JarLauncher[2262] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] Exception in thread "main"
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] java.lang.SecurityException: no manifiest section for signature file entry org/bouncycastle/asn1/DEREnumerated.class
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.security.util.SignatureFileVerifier.verifySection(SignatureFileVerifier.java:377)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:231)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:176)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarVerifier.processEntry(JarVerifier.java:233)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarVerifier.update(JarVerifier.java:188)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarFile.initializeVerifier(JarFile.java:325)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarFile.getInputStream(JarFile.java:390)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.URLClassPath$JarLoader$1.getInputStream(URLClassPath.java:620)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.Resource.cachedInputStream(Resource.java:58)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.Resource.getByteBuffer(Resource.java:113)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader.defineClass(URLClassLoader.java:249)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.security.AccessController.doPrivileged(Native Method)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
    I do specify the main class in both, the Manifest file and the Info.plist file, in the correct way, "package.MainClass". Is there another place where I need to specify it?
    Why do I need org/bouncycastle/asn1/DEREnumerated.class, and how would I have to specify it in Manifest?
    I also posted these questions at Mac Programming at forums.macrumors.com and at Xcode-users Mailing List at lists.apple.com/mailman/listinfo, but I did not get any answer.
    Please help! Thanks!

    There was something wrong with my Info.plist file.
    So, here is my corrected Info.plist file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
         <key>CFBundleDevelopmentRegion</key>
         <string>English</string>
         <key>CFBundleExecutable</key>
         <string>AnanyaCurves</string>
         <key>CFBundleGetInfoString</key>
         <string></string>
         <key>CFBundleIconFile</key>
         <string>AnanyaCurves.icns</string>
         <key>CFBundleIdentifier</key>
         <string>com.AnanyaSystems.AnanyaCurves</string>
         <key>CFBundleInfoDictionaryVersion</key>
         <string>6.0</string>
         <key>CFBundleName</key>
         <string>AnanyaCurves</string>
         <key>CFBundlePackageType</key>
         <string>APPL</string>
         <key>CFBundleShortVersionString</key>
         <string>0.1</string>
         <key>CFBundleSignature</key>
         <string>ac</string>
         <key>CFBundleVersion</key>
         <string>0.1</string>
         <key>Java</key>
         <dict>
              <key>JMVersion<key>
              <string>1.4+</string>
              <key>MainClass</key>
              <string>AnanyaCurves</string>
              <key>VMOptions</key>
              <string>-Xmx512m</string>
              <key>Properties</key>
              <dict>
                   <key>apple.laf.useScreenMenuBar</key>
                   <string>true</string>
                   <key>apple.awt.showGrowBox</key>
          <string>true</string>
              </dict>
         </dict>
    </dict>
    </plist>Ok, so now I can at least run the AnanyaCurves.jar file by double-clicking on it.
    However, I still cannot run the AnanyaCurves.app file. When I double-click on it, I get the following message in the Console:
    1/11/09 5:12:26 PM [0x0-0x67067].com.apple.JarLauncher[1128]  at ananyacurves.AnanyaCurves.main(AnanyaCurves.java:1961)
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] [JavaAppLauncher Error] CFBundleCopyResourceURL() failed loading MRJApp.properties file
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] [LaunchRunner Error] No main class specified
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] Exception in thread "main" java.lang.NullPointerException
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137]  at apple.launcher.LaunchRunner.run(LaunchRunner.java:112)
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137]  at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137]  at apple.launcher.JavaApplicationLauncher.main(JavaApplicationLauncher.java:61)Why is it looking for the MRJApp.properties file? Isn't this outdated? Shouldn't it look for the Info.plist file? I do not have a MRJApp.properties file.
    Also, in the Run menu of my XCode project, Go, Run, and Debug are disabled, but perhaps this has to do with not being able to run the AnanyaCurves.app file.
    Thanks for your time! I really appreciate any help you can give me!

  • Compiled executable does not open in maximized window

    I have attached a JPG showing the VI Properties that pertain to Window size.  Despite the fact that I have indicated in Run-Time Position - Position:  Maximized.  The compiled executable does not open in a maximized window.
    Even stranger, if I take the shortcut for the program and change it's properties (on the target machine) to Open Maximized, it still doesn't open maximized.
    I have had this behavior with every compiled executable for a couple of years using versions of LabVIEW 8, 2010, 2011 and currently 2011 SP1.  Both the compiling machine and the target machine are Windows XP.
    Is there any explanation for this behavior?  Any way to correct it?
    Solved!
    Go to Solution.
    Attachments:
    VI Properties.JPG ‏81 KB

    I think Ravens Fan is correct. The aspect ratio appears to take precedence over the window position.
    You can set a property manually in your code to maximize the window.
    http://zone.ni.com/reference/en-XX/help/371361H-01/lvprop/vi_fp_winstate/
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

Maybe you are looking for