What deos this mean...

When i run me java application from a batch file i get the following message...
C:\WINDOWS\Desktop>C:\jbuilder3\java\bin\java.exe -cp C:\desktopshortcut\desktop
.jar desktop.desktop
Exception in thread "main" java.lang.NoClassDefFoundError: desktop/main$17
at desktop.main.jbInit(main.java:213)
at desktop.main.<init>(main.java:70)
at desktop.desktop.<init>(desktop.java:17)
at desktop.desktop.main(desktop.java:34)
What deos this mean, can you fix it?
thanks in advance

Well, apparently you didn't put all the generated .class files in your jar, because it says you're missing the desktop/main$17 class (you have a lot of anonymous inner classes, and they got compiled as main$1.class, main$2.class, etc, not just main.class, so you need to include them as well, in your jar)

Similar Messages

Maybe you are looking for

  • Problem with creation of a new connection

    Hi all, In a new application,I have created a model.Then I try to create business components from tables,and then a new connection. I can suucessfully create the conection but when I click on ok I got an error like this "Unable to store credential st

  • IPad Dock (latest version) + Digital AV Adapter = Works?

    Hey guys, Anyone know if the latest iPad dock works with that newer style Digital AV Adaptor and if the audio out still works?? it didnt on the original iPad 1 dock and a iPad 2 but I now have an ipad 3 so will get a new dock if it will work!! Cheers

  • Installing Yosemite from USB to a new (unformatted) USB?

    Hey everyone! Just ordered a new SSD to try and breathe some life back into my wife's Late 2008 Macbook. As she was planning on doing a clean install anyway, I didn't bother picking up cloning equipment and just planned to install Yosemite direct fro

  • I get "Download Error..." in Cloud when Downloading any Products

    I get "Download Error.  Please press Retry or contact Customer Service" when attempting to download any of the Creative Cloud suite products.  Day 1 of my membership and I'm not getting very far.

  • Partial view of websites

    Could anybody please help me with Safari only providing a limited vision of websites. For instance, the website www.frontierservices.eu in windows internet explorer has three full columns with rotating effects on the content of the extreme right hand