dsmj results in Warning: -jar not understood

tookadigger

ADSM.ORG Member
Joined
Nov 17, 2006
Messages
3
Reaction score
0
Points
0
I'm running version 5.3.4 on Red Hat AS 4.0. When I try to start the GUI I get the following error:



[root@hostname]# Warning: -jar not understood. Ignoring.

Exception in thread "main" java.lang.NoClassDefFoundError: dsm.jar

at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)

at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)

at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean)

(/usr/lib/libgcj.so.5.0.0)

at __gcj_personality_v0 (/opt/tivoli/tsm/client/ba/bin/java.version=1.4.2)

at __libc_start_main (/lib/tls/libc-2.3.4.so)

at _Jv_RegisterClasses (/opt/tivoli/tsm/client/ba/bin/java.version=1.4.2)

/home



Any help would be greatly appreciated.

Thanks.
 
Not sure if the results are from starting the GUI or the Web Client.



1. Make sure that the dsmcad process is running, that is if we are trying to use the

Web Client.



2. Make sure that we are using the Sun Java and not the GNU Java.



Good Luck,

Sias :)
 
I have the same problem as well. :rolleyes:

I guess we both followed the README_enu.thm file and got stuck in point2 under "Configuration"

Re1: I was just trying the GUI interface, not even the Web Client so dsmcad isn't running...

Re2: I had double checked it is Sun Java.



<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>

In addition to the setup for Backup-Archive Client, do the following:



1. Add the java binary directory to your PATH variable.



export PATH=$PATH:&lt;JAVA_BIN_DIR>



where JAVA_BIN_DIR is the path to the "java" executable. Refer to the "Software requirements" section for the JRE versions that are supported.

2. Start the Backup-Archive Java GUI by typing the following command from a Unix shell prompt:



dsmj

</PRE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE>

:confused: :confused: :confused: anyone please give us a hand?



<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Quote:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><BLOCKQUOTE>

Not sure if the results are from starting the GUI or the Web Client.



1. Make sure that the dsmcad process is running, that is if we are trying to use the

Web Client.



2. Make sure that we are using the Sun Java and not the GNU Java.



Good Luck,

Sias :)</BLOCKQUOTE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE>
 
Sias,



Thanks for the help, you were right on. Guess I need to pay closer attention to what the version command is reporting back.

Thanks again, your help is appreciated.



Icejam,

Did you add the path to the SUN java? I had to put it in the path before the GNU java, otherwise it would use the GNU rather than the SUN.
 
Thanks tookadigger, sorry to be a n00b but

how do I tell if it's GNU java or SUN java? I've download it from sun.com and pretty sure installed into /usr/java/

I typed "export PATH=$PATH:/usr/java/jre1.5.0_09/bin"



I've noticed the error message it returned is "java.version=1.4.2"...does that mean I exported a wrong path? :confused:



really apprentice any help...
 
Hey Icejam,



Try this instead: export PATH=/usr/java/jre1.5.0_09/bin/:$PATH



You can also add /usr/java/jre1.5.0_09/bin/to your .bash_profile PATH.



type java -version to see what java it is actually using, it should report back 1.5.0_09 if the path is correct.



Hope that helps.
 
Thank you soooo much tookadigger (and LED888)...finally I got the GUI running... :)
 
Back
Top