View Single Post
  #1 (permalink)  
Old July 24th, 2002
Unregistered
Guest
 
Posts: n/a
Default MDK JAVA 1.4 INSTALL Procedure.

Thanks to Calimero44, I have installed Java. I have updated the procedure on doing this for MDK 8.2. As soon as I finish installing it for mozilla 1.0, I will update this again.

1) Download LimeWire to your home directory. You may want to create a directory
for it...
2) When you try to install LimeWire you get the following errors:

Error: Unrecognized JVM specific option `-Xmx50331648'.
Error: Unrecognized JVM specific option `-Xms16777216'.
Invocation java version "1.3.1_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_03-b03)
Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode)of this Java
Application has caused an InvocationTargetException. This application will now
exit. (LAX)

Stack Trace:
java.lang.NoClassDefFoundError: ZeroGcf
at Zero Gcj.(so urce file unknown:line unknown, pc 0x8d75d74)
at ZeroGb3.a(source file unknown:line unknown, pc 0x8cd9efd)
at com.zerog.ia.installer.Main.a(source file unknown:line unknown, pc 0x8db9531)
at com.zerog.ia.installer.Main.b(source file unknown:line unknown, pc 0x8c7c1c1)
at com.zerog.ia.installer.Main.main(source file unknown:line unknown, pc
0x856ca61)
at java.lang.reflect.Method.invoke(Method.java:native )
at com.zerog.lax.LAX.launch(source file unknown:line unknown, pc 0x82989d6)
at com.zerog.lax.LAX.main(source file unknown:line unknown, pc 0x824f3eb)

You need a newer version of Java VM.
http://java.sun.com/j2se/1.4/download.html for the 1.4.

3) Download the Linux Red Hat RPM shell script to your system.

Open a shell terminal emulator window and go to the directory where the
downloaded file is located.

4) Check the file that you downloaded to ensure that it is the correct
checksum size:

chsum j2re-1_4_0_01-linux-i586-rpm.bin

Should see something like this:

2981620438 21300192 j2re-1_4_0_01-linux-i586-rpm.bin

If the file size doesn't match, it probably means the file was corrupted during the
download. In that case, try downloading again.

5) Run the installation script and agree to the license.
Launch the installation script by using the following commands from the
directory in which it is located:
home directory
chmod a+x j2re-1_4_0_01-linux-i586-rpm.bin

sh j2re-1_4_0_01-fcs-linux-i386-rpm.bin

The script will display a binary license agreement, which you will be asked to
agree to before installation can proceed. Once you have agreed to the license,
the install script will create the file j2re-1_4_0_01-fcs-linux-i386.rpm in the
current directory.

6) Become root by running the su command and entering the super-user password.

Uninstall Previous Version:
rpm -q kaffe

You version version should be: kaffe-1.0.6-11mdk
rpm -e kaffe-1.0.6-11mdk(Remember to su root)

7) Then go the start menu of KDE then configuration -> packaging -> and open either
gnoRPM or rpmdrake.

8) You can use this as well to install Java from a console:

Run the rpm command to install the packages:

rpm -iv j2re-1_4_0_01-fcs-linux-i386.rpm

This will install the packages comprising the Java 2 Runtime Environment.

Exit the root shell.

9) Now if you try to install LimewireLinux you should get an error saying that it
cant find VM on your system.

Type the following line and then you should be able to install LimeWire

export JAVA_HOME=/usr/java/j2re1.4.0_01
export PATH=$PATH:/usr/java/j2re1.4.0_01/bin

On some systems, the above lines will have to be added into the /etc/bashrc
file.

Now run ./LimewireLinux.bin
Reply With Quote