SoyEli Active Member Licensed User Longtime User Feb 7, 2013 #1 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: Feb 7, 2013
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:
SoyEli Active Member Licensed User Longtime User Feb 8, 2013 #3 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: Feb 8, 2013
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
SoyEli Active Member Licensed User Longtime User Feb 9, 2013 #5 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"
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"
Erel B4X founder Staff member Licensed User Longtime User Feb 10, 2013 #6 Seems like you haven't configured the Javadoc tool correctly. Should be similar to:
SoyEli Active Member Licensed User Longtime User Feb 11, 2013 #7 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 FirstLib.zip FirstLib.zip 11.2 KB · Views: 413
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 ^
SoyEli Active Member Licensed User Longtime User Feb 11, 2013 #8 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!
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!
M MLDev Active Member Licensed User Longtime User Feb 11, 2013 #9 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.
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.
SoyEli Active Member Licensed User Longtime User Feb 11, 2013 #10 Thank you ! Did not see this in the video.
M MLDev Active Member Licensed User Longtime User Feb 11, 2013 #11 SoyEli said: Thank you ! Did not see this in the video. Click to expand... Yeah. That wasn't in the video by mistake. See: http://www.b4x.com/forum/libraries-developers-questions/12431-video-tutorial-creating-simple-library.html#post69908
SoyEli said: Thank you ! Did not see this in the video. Click to expand... Yeah. That wasn't in the video by mistake. See: http://www.b4x.com/forum/libraries-developers-questions/12431-video-tutorial-creating-simple-library.html#post69908