LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-19-2009, 03:32 AM   #1
anotherpenguin
Member
 
Registered: Nov 2008
Posts: 44

Rep: Reputation: 15
fedora won't find my installed java


ok so I installed java

Code:
[natsume@localhost ~]$ rpm -qiv jre
Name        : jre                          Relocations: /usr/java 
Version     : 1.6.0_14                          Vendor: Sun Microsystems, Inc.
Release     : fcs                           Build Date: Thu 21 May 2009 15:57:32 IST
Install Date: Sat 18 Jul 2009 07:36:49 IST      Build Host: jdk-lin-amd64.sfbay.sun.com
Group       : Development/Tools             Source RPM: jre-1.6.0_14-fcs.src.rpm
Size        : 48546447                         License: Sun Microsystems Binary Code License (BCL)
Signature   : (none)
Packager    : Java Software <jre-comments@java.sun.com>
URL         : http://java.sun.com/
Summary     : Java(TM) Platform Standard Edition Runtime Environment
Description :
The Java Platform Standard Edition Runtime Environment (JRE) contains
everything necessary to run applets and applications designed for the
Java platform. This includes the Java virtual machine, plus the Java
platform classes and supporting files.

The JRE is freely redistributable, per the terms of the included license.
but it won't work

Code:
[natsume@localhost ~]$ java -version
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
all i wanted was to install frostwire

Code:
[natsume@localhost ~]$ frostwire
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
sh: unpack200: command not found
Traceback (most recent call last):
  File "/usr/lib/frostwire/unpack200.py", line 58, in <module>
    makeHashes()
  File "/usr/lib/frostwire/unpack200.py", line 17, in makeHashes
    output = file('hashes','w')
IOError: [Errno 13] Permission denied: 'hashes'
HOSTNAME IS localhost.localdomain
Starting FrostWire...
Java exec found in PATH. Verifying...
OOPS, you don't seem to have a valid JRE. FrostWire works best with Sun JRE available at http://www.java.com [java = Error]
You need to upgrade to JRE 1.5.x or newer from http://www.java.com
OOPS, unable to locate java exec in  /usr/lib/  hierarchy
You need to upgrade to JRE 1.5.x or newer from http://www.java.com
Java exec found in  /usr/java/jre1.6.0_14/bin/
Suitable java version found  [/usr/java/jre1.6.0_14/bin/java = 1.6.0_14]
Configuring environment...
Loading FrostWire:
CLASSPATH SET TO:
Unable to access jarfile FrostWire.jar

/usr/java/jre1.6.0_14/bin/
******************************************************************
Something went wrong with FrostWire.
Maybe you're using the wrong version of Java?
(FrostWire is tested against and works best with with Sun's JRE, Java 1.4+)
The version of Java in your PATH is:
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Hope it will give some clue what is going on.
Please help I'm new to linux.
 
Old 07-19-2009, 08:52 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
From http://www.linuxquestions.org/questi...3/#post3612199
Quote:
I'm running *buntu 8.04 and Java 1.6.0.14 that lives at /usr/lib/java-6-sun-1.6.0.14. The executable is jre.

I am ALSO running kaffe 1.4.2 which lives at /usr/bin. The executable is named java.

The two seem compatible. OOo sees the genuine Sun Java while everything else sees the kaffe imposter.
In the above quote the genuine Sun Java Runtime Environment is provided by an executable name jre.

Default Java is provided by an open source imposter named kaffe. The executable for this is named java.

You may want to install kaffe as I did. I cannot vouch for the performance because I disable java in my web browser and I rarely run a Java application. I have had no problems using kaffe the few times that I have run a Java based application.
 
  


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
Installed Flock 2.5 on Fedora. How to let him use flash player & java. Mustafa^Qasim Linux - General 1 05-27-2009 09:21 AM
how to find programs that are installed on fedora? ashjas Fedora 7 01-24-2008 08:26 AM
Find location of packages previously installed with yum on fedora core 5 Tails and Link Linux - Newbie 8 04-30-2006 04:27 AM
Can't find/use fglrxconfig after ATI 9800 XT Drivers for Fedora Core 4 are installed guimo_x Linux - Hardware 3 02-12-2006 08:28 PM
can't find java or javac with which command in slack 10.1 but j2re is installed dns21 Slackware 2 02-12-2005 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:10 PM.

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