hi all
i have installed the last version of java from their site
but now i dont know how to run limewire and other apps that use java
any tip for this?
my puppy version is 2.11 and im very new with linux
(SOLVED) how to run programs with java?
(SOLVED) how to run programs with java?
Last edited by caesirian on Thu 02 Nov 2006, 12:54, edited 1 time in total.
you need to set JAVA_HOME and PATH to where your files are
if your files are in /root/jre1.5.0_09, you could put these lines in /etc/profile.local (create the file if it does not exist):
export JAVA_HOME=/root/jre1.5.0_09
export PATH=$PATH:$JAVA_HOME/bin
then reboot
then you can start a program by typing something like:
java -jar aprogram.jar
often, a program can be started by clicking it's start script
if your files are in /root/jre1.5.0_09, you could put these lines in /etc/profile.local (create the file if it does not exist):
export JAVA_HOME=/root/jre1.5.0_09
export PATH=$PATH:$JAVA_HOME/bin
then reboot
then you can start a program by typing something like:
java -jar aprogram.jar
often, a program can be started by clicking it's start script
Last edited by GuestToo on Thu 02 Nov 2006, 14:36, edited 1 time in total.