Java Question Library Help ?

SoyEli

Active Member
Licensed User
Longtime User
Hello:

Trying to make a library, getting this:

Can you help?

"Could not find the main class: @C:\DOCUME~1\Comput~1\LOCALS~1\Temp\javadoc-arguments435953096265393544.tmp. Program will exit.
Exception in thread "main"

Thank you:
 
Last edited:
When I try to compile to get ".jar & .xml files" (generate javadoc = With eclipse)
I'm trying to make "FirstLib from your video"

Thank you for the help
SoyEli
 
Last edited:
I deleted everything, re downloaded eclipse > and still get a console error:
I'm trying to make the "FirstLib from video"

Please Help:

java.lang.NoClassDefFoundError: @C:\DOCUME~1\Patron\LOCALS~1\Temp\javadoc-arguments8814974781736190282/tmp
Caused by: java.lang.ClassNotFoundException: @C:\DOCUME~1\Patron\LOCALS~1\Temp\javadoc-arguments8814974781736190282.tmp
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: @C:\DOCUME~1\Patron\LOCALS~1\Temp\javadoc-arguments8814974781736190282.tmp. Program will exit.
Exception in thread "main"
 
Seems like you haven't configured the Javadoc tool correctly. Should be similar to:
SS-2013-02-10_09.05.46.png
 
Mr. Erel

My eclipse looks different from yours ?

maybe I have the wrong one.
I have the = "adt-bundle-windows-x86" I downloaded from web.
see attachment ^
 

Attachments

I found one of the problems:
I was loading "Java.exe", fixed to "Javadoc.exe"

But now it generates the .xml file but not the .jar file.

Thank you for all your help!
 
You need to export the project to a Jar file. Right click on the project and select Export... then select Java \ JAR file. Click Next then select the export destination and name and click Finish.
 
Back
Top