﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
8585	Complains about Java version when it is 7	ggeldenhuis	ryanthara@…	"Hi
I have just used https://github.com/flexiondotorg/oab-java6 to install a oracle java1.7.

However the default screen still gives the following message:
JOSM soon will no longer support this version of Java, you should update to version 7 or better!

Both the status report and the About screen confirms that the java version being used is: 1.7.0_17. So is this version to old or is the message displayed being wrong of does it display the message regardless?

I explicitly set the variable in the startup script as follows:
JAVACMD='/usr/lib/jvm/java-7-oracle/bin/java'
I have also more correctly added this path to the JAVA_CMDS variable in the /usr/bin/josm-latest startup script. This results in java 1.7 being run but still results in the error message after startup.

The reason for doing this is that the startup script does not pick up the latest java version correctly otherwise. 

I have run sudo update-alternatives --config java and running java -version shows the latest java 7. So I am fairly confident that the default java will be 7 and that it works correctly on my system.


Regards"	defect	closed	minor		Core	latest	fixed		stoecker
