• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jar classpth settings

 
m asif
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
3\j323-2001-11-27\j323\lib\j323.jar;c:\h323\j323-2001-11-27\j323\lib\cphone.jar
------------------------------
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
.ibm.com>"
Exception in thread "main" java.lang.NoClassDefFoundError: javax/telephony/Provi
derObserver
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic