Tiny Core Extensions > TCE Talk

Installing jdk1.6.0 on tinycore everything resets

<< < (2/2)

Terminator3000:
Update on this,Ive managed to stop things disappearing by using opt for the java directory, and adding that and the /etc/profile file to the /opt/filetool.lst file.

So now its all still there on reboot thanks for that tip.

Only problem is I still cant get the path to show in terminal with 'echo $ JAVA_HOME'
command so perhaps Ive put those lines in the wrong place in the /etc/profile file,or maybe I should be using a different file for Path variables and export.

Any more tips welcome! Thanks.

Terminator3000:
Hi,just help needed now on setting the Path to java correctly.I.ve tried a couple of ways I know but so far no joy,still no path showing in terminal for echo $PATH or echo $JAVA_HOME.

The lines I've got in my /etc/profile file are as follows

export JAVA_HOME=/opt/java/jdk1.6.0_21/bin/java
export PATH=$PATH:/opt/java/jdk1.6.0_21/bin

That is the correct path to my java installation and Ive got those lines at the top right under the inititial PATH statements.

But it doesnt work.

Help needed Cheers !

Navigation

[0] Message Index

[*] Previous page

Go to full version