To my knowledge, JBuilder never uses the system setting for Java
classpath. It's actually stated clearly (somewhere) in the Help
documentation.
I think Doychin has pointed you to the Help for which
settings you need to set in the .config file -- in
particular, addjars.
Did you read the Help on this topic and then systematically
go about implementing that? (You don't acknowledge above that
you made the effort. If you haven't, please do.)
--
Paul Furbacher (TeamB)
Save time, search the archives:
http://info.borland.com/newsgroups/ngsearch.html
Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.
"Paul Furbacher [TeamB]" <pfurb...@mac.com> wrote in message
news:4849fc83$1...@newsgroups.borland.com...
because my JES_Main class in placed in that (. means current directory of
the .exe)
but there is still error message
D:\My Projects\FAS\project>jes_account
Exception in thread "main" java.lang.NoClassDefFoundError:
JES_Account/JES_Main
Caused by: java.lang.ClassNotFoundException: JES_Account.JES_Main
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
what is ther reason??
I am very sure that the jes_account.jar contain the class
JES_Account.JES_Main!!
"Paul Furbacher [TeamB]" <pfurb...@mac.com>
???????:4849fc83$1...@newsgroups.borland.com...
the exception message has changed some.
Exception in thread "main" java.lang.NoClassDefFoundError:
com/borland/jbcl/layo
ut/XYLayout
at JES_Account.fmLogon.<init>(fmLogon.java:41)
at JES_Account.fmMainFrame._$4286(fmMainFrame.java:201)
at JES_Account.fmMainFrame.<init>(fmMainFrame.java:184)
at JES_Account.JES_Main.<init>(JES_Main.java:41)
at JES_Account.JES_Main.<init>(JES_Main.java:30)
at JES_Account.JES_Main.main(JES_Main.java:139)
Caused by: java.lang.ClassNotFoundException:
com.borland.jbcl.layout.XYLayout
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 6 more
it seems it can now search the jes_main class, but I doubt that how to
deploy the jes_account.exe to other client? why not something like
D:/My Projects/FAS/project/classes
C:/JBuilderX/lib/dx.jar;
cannot be found in my jar and need expliciit add it in jes_account.config?
"Paul Furbacher [TeamB]" <pfurb...@mac.com>
???????:4849fc83$1...@newsgroups.borland.com...