LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-26-2005, 09:12 AM   #1
retry
LQ Newbie
 
Registered: Aug 2004
Location: Rakkestad, Norway
Distribution: Fedora 5
Posts: 23

Rep: Reputation: 15
how to install java probebly?


Hi.. I need som tips..
Java is not working, even if i Install it like the instructions on java.com says.
Firefox will not load java.
Limewire gives me the following message:

Starting LimeWire...
"""Java exec found in PATH. Verifying...
Suitable java version found [java = 1.4.2]
Configuring environment...
Loading LimeWire:
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: LimeWire.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 (/usr/lib/LimeWire/java.home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre)
at __libc_start_main (/lib/tls/libc-2.3.3.so)
at _Jv_RegisterClasses (/usr/lib/LimeWire/java.home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre)

******************************************************************
Something went wrong with LimeWire.
Maybe you're using the wrong version of Java?
(LimeWire is tested against and works best with with Sun's JRE, Java 1.4+)
The version of Java in your PATH is:
java version "1.4.2"
jdkgcj 0.3.1 (http://www.arklinux.org/projects/jdkgcj)
gcj (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.""""

Azereus gives me a similiar message..


WHat can be wrong?
 
Old 04-26-2005, 08:13 PM   #2
kiss_linux
Member
 
Registered: Mar 2005
Location: Calgary Canada
Distribution: Mandriva 10 / LE 2005
Posts: 46

Rep: Reputation: 15
make sure path for java is setup properly, you can test this by typinng "java -version" in console without quotations

[xxxxx@localhost]$ java -version
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)

below is how i have setup path for java in /etc/profile

export JAVA_HOME=/usr/java/j2sdk1.4.2_08
export PATH=$PATH:$JAVA_HOME/bin

if path is modified in /etc/profile, to make it effective you need to logout and login (correct me if im wrong)
 
Old 04-26-2005, 08:39 PM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Check out this post about installing java. It has some pointers to installing the plugins.
http://www.fedoraforum.org/forum/sho...9&postcount=12

Brian1
Google the Linux way at ' http://www.google.com '
 
Old 04-26-2005, 09:12 PM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
It looks like it is trying to use gcj, not sun Java. GCJ has the executables in /usr/bin (probably). If you have installed Sun Java to /usr/local/java, set your path in ~/.bash_profile like this:
Code:
export PATH=/usr/local/java/bin:$PATH
This means that the sun java binaries will be first in your path, and so will be used rather than GCJ.

When you have made the changes to ~/.bash_profile, run the command "source ~/.bash_profile", or logout and login again.

If you want to make the changes Global, add the "export PATH...." line to /etc/profile.

I hope this helps
--Ian
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
java does not install in opt but install in usr bbmak Linux - Software 6 10-02-2005 11:13 PM
what directory is java install? what CMD determined where java is install? Thks. suse2166 Linux - Newbie 2 09-04-2005 08:24 PM
trying to install java popcorn5714 Linux - Software 1 02-27-2004 05:16 AM
LOTR, return of the king, probebly the best film I'v ever seen. qanopus General 35 01-19-2004 09:06 PM
How to install Java biblefreak Linux - Newbie 4 12-27-2002 05:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration