[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Java installing



Roberto Mura wrote:

Hi,
I'm a linux debian newbie, and i havo no idea about get working j2se 5.0

I have downloaded binaies, converted in deb, installed with dpkg,
but still get error:

java NoClassDefFound java/lang/Object

when trying to execute

./java -version

Could somene help me?

All I've done is "sudo apt-get install java-package" which enables you to build a deb for a java jre using a file downloaded from the issuer. Then I downloaded the latest jre .bin file from Sun and ran "make-jpg" against it which produced "sun-j2re1.5_1.5.0+update05_i386.deb". I installed this with "sudo dpkg -i packaname.deb". Everything works OK here and ./java -version yields

java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)


:)

Fish



Reply to: