wood burning stoves 2.0*
The moose likes Java in General and the fly likes jar classpth  settings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "jar classpth  settings" Watch "jar classpth  settings" New topic

jar classpth settings

m asif

Joined: Apr 01, 2003
Posts: 6
I set the classpath of jtapi12 api but still getting java.lang.NoClassDefFoundError: javax.telephony.ProviderObserver exception.
following looks perfect to me:
C:\h323\j323-2001-11-27\j323\bin>set CLASSPATH=c:\h323\jtapi12-class.zip;c:\h32
C:\h323\j323-2001-11-27\j323\bin>"c:\j2sdk1.4.0\bin\java" -Dh323.endpoint.timer
.factor=3 com.ibm.ct.cphone.Main -trace 1 -sdfile demo.sd -locaddr "<grm@zurich
Exception in thread "main" java.lang.NoClassDefFoundError: javax/telephony/Provi
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
at java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
at com.ibm.ct.cphone.Main.main(Main.java:159)
It is sorta covered in the JavaRanch Style Guide.
subject: jar classpth settings
Similar Threads
my java file is not running
Jboss is not running.Exception in thread "main"
EJB deployment error
Start j2ee server - NoClassDefFoundError - Please help!
tomcat not running??