Archived
This forum has been archived. Please start a new discussion on GitHub.
problem in running Ice client/server in windows
Hi all
I am new in using Ice with java in Windows 7.
I've tried to follow the first example in the manual, the compilation of both server and client programs were succeeded but when I try to run any of them I got the following errors.
...........................>java Client
Exception in thread "main" java.lang.NoClassDefFoundError: Ice/LocalExce
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at sun.launcher.LauncherHelper.getMainMethod(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: Ice.LocalException
at java.net.URLClassLoader$1.run(Unknown Source)
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)
... 6 more
can anyone help me to solve my problem?
I am new in using Ice with java in Windows 7.
I've tried to follow the first example in the manual, the compilation of both server and client programs were succeeded but when I try to run any of them I got the following errors.
...........................>java Client
Exception in thread "main" java.lang.NoClassDefFoundError: Ice/LocalExce
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at sun.launcher.LauncherHelper.getMainMethod(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: Ice.LocalException
at java.net.URLClassLoader$1.run(Unknown Source)
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)
... 6 more
can anyone help me to solve my problem?
0
Comments
-
Hi,
Seems that you have not properly configure your CLASSPATH. Please refer to the instructions in the following documents:
Using the Windows Binary Distribution
Building and running the Java demos
Regards,
José0 -
thanks a lot0