You are not logged in.

#1 2010-04-12 09:21:05

Gruntz
Member
From: Haskovo, Bulgaria
Registered: 2007-08-31
Posts: 291

Archlinux, centos-idm-console.

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

#2 2010-04-12 09:59:52

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Archlinux, centos-idm-console.

Try Sun jre from community instead of openjdk.

Offline

#3 2010-04-12 10:50:01

Gruntz
Member
From: Haskovo, Bulgaria
Registered: 2007-08-31
Posts: 291

Re: Archlinux, centos-idm-console.

Hi

I tryed. I got the same error sad

Thank you.

Offline

#4 2010-04-12 11:08:11

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Archlinux, centos-idm-console.

Try an earlier release of openjdk and/or jre then.

Offline

Board footer

Powered by FluxBB