LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error tryin to install jar Executable (https://www.linuxquestions.org/questions/linux-newbie-8/error-tryin-to-install-jar-executable-690753/)

khalil_noura 12-15-2008 01:37 PM

Error tryin to install jar Executable
 
Hi all,


I am trying to install SP3 for blackboard Academic Suite on a linux RH.
when I try to run the Install file. I get the following error:

Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: bb-as-linux-8.0.307.0.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 (/root/Downloads/java.version=1.4.2)
at __libc_start_main (/lib/tls/libc-2.3.4.so)
at _Jv_RegisterClasses (/root/Downloads/java.version=1.4.2)

Thanks

paulsm4 12-15-2008 02:13 PM

Common problem - you're picking up "Gnu Java" (which is there by default) instead of "Sun Java" (which is what you really want).

Strong suggestion:
1. Deinstall Gnu Java (Gnu Gcj and Sun Java *can* co-exist peacefully, but having them together might complicate your life)
2. Download and install Sun Java
3. Re-run your install (this time, you should be happy)

Here's are links that might help:
http://www.java.com/en/download/help/5000010500.xml
http://www.cyberciti.biz/faq/howto-u...igure-jdk-jre/
http://www.my-guides.net/en/content/view/125/26/1/11/


All times are GMT -5. The time now is 12:08 AM.