I'm developing the TV Scoreboard app with the use of window laptop and raspberry pi. I'm using the putty to have socket connection.
Before that it request to state the X11 server variable, so I have installed the Xming server in my window laptop and fixed to
But JFLauncher keep pop up the message to install the newest Java Runtime.
So I think the latest and suitable one should be
I have download the e
mkdir java cd java tar zxvf *.gz
after unpack, I remove the rar file.
it show the latest version but if I just
it show the old version detail.
what should I do to update it to the latest version? Any mistake for my steps?Answer1:
but if i just java -version it show the old version detail.</blockquote>
When you run this command from your command line, the
PATH environment variable is what the shell will evaluate to determine how to disambiguate your command. If you don't ensure that the new java binary location is in your
PATH, and has a higher precedence than the old one, then the shell has no way of knowing to execute your new java.
Try the following:
$which java //tells you which java command the shell will execute $echo $PATH //shows you what directories are in your path $export PATH=/my/new/java/bin/directory:$PATH //set your new java into the PATH env $java -version
See <a href="http://docs.oracle.com/javase/tutorial/essential/environment/paths.html" rel="nofollow">this</a> tutorial on setting PATH.