You are not logged in.
Hi, guys.
I am trying to get the centos console (centos-idm-console) up and running on my arch, so I can administrate my centos direcotry servers from my desktop machine. I wrote to the centos forum about ana advice, and they told me just to copy the jre files. I copied all the files, but I got a java exception.
[ ~ ] centos-idm-console
Exception in thread "main" java.lang.NoClassDefFoundError: com/netscape/management/client/console/Console
Caused by: java.lang.ClassNotFoundException: com.netscape.management.client.console.Console
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: com.netscape.management.client.console.Console. Program will exit.
[ ~ ]
That is the exception. I googled it and I found out that it is because of different java version. (http://directory.fedoraproject.org/wiki … .2FConsole)
That is my CentOS Java version:
[ ~ ] java -version
java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Client VM (build 1.6.0-b09, mixed mode)
[ ~ ]
and here is my archlinux`s java version:
[ ~ ] java -version
java version "1.6.0_17"
OpenJDK Runtime Environment (IcedTea6 1.7.3) (ArchLinux-6.b17_1.7.3-1-i686)
OpenJDK Client VM (build 14.0-b16, mixed mode)
[ ~ ]
Are they so different? Any suggestions what can I do? I will try to google it some more.
Thank you.
Offline
Try Sun jre from community instead of openjdk.
Offline
Hi
I tryed. I got the same error
Thank you.
Offline
Try an earlier release of openjdk and/or jre then.
Offline