I want to make a java-based GUI tool that checks for the latest version of java available online,and compares it to the version currently installed
I already know how to check for the version currently installed on the machine
I don't know about the part where you check for the version available online
This web based Java Tester does what you want to do.
The author of the Java Tester keeps track of the latest version manually. I think you would have to do the same.
Have you looked into java web start for deploying your application? It will automatically perform version checks and perform the installation if a new version is needed.
http://java.sun.com/javase/technologies/desktop/javawebstart/index.jsp
Related
I'm looking for any kind of API or method of finding what the newest version of Windows is for a specified version. Is there any method to get this information?
As far as I know there is not a dedicated API supplying latest builds per Windows versions. There are several resources on the web supplying this information, you could compile these into a data set and create an API for your own use.
For example: https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions
We are trying to automatically migrate traffic to the latest built version of our production branch of our app in google app engine. I can't find a good resource after about an hour of investigation on how to do this. Does anyone know if this is possible and where I can find resources on how to do this?
If you change the app/module version in your web.xml file at every build then you need to either assign the new version as the default version or migrate the traffic to the new version. AFAIK both of these actions can only be done manually, from the Developer Console's Versions Page.
But if you don't change the app/module version in your web.xml file then the updated code should automatically receive the same traffic as the previous code simply by deployment. At least in the standard GAE environment.
For Python applications it's possible to use appcfg.py set_default_version <app-directory> to set the default version to the one specified in app,yaml.
I'm assuming that appcfg.sh set_default_version <app-directory>, described in the documentation, does the same thing for Java applications.
I have searched the forum for my question but have not found the precise info i need..
I have two web start applications that uses 2 different versions of java.. How is it possible for these to work on the same computer one app using version 1.6.0_30 and the other 1.8.
Inside the .jnlp file you will find attribute spec. Value assigned to it inform what Java Web Start is required to use the application.
Java is backword compatible so having only version 8 you will be able to run something dedicated to version 6.
Java allows to have multiple versions on single machine and also mange them.
I installed Java version 45 on a test machine. High security setting says that one can can't run unsigned or self-signed apps on older versions of Java, and in fact it fails to run a self-signed applet.
How is this version able to detect that it is an older version? It certainly wasnt an older version when it was first deployed.
Java configuration, mainly the security baseline, gets updated as soon as you receive the new version notification, even if you choose "update later" . At that point you are executing java 7u45 but using an updated launcher, so it knows you have an older version running, and it applies the updated security checks.
I would assume that somewhere in jnlp internals it makes a call to oracle's servers and checks what version is the latest and whether it your currently running version is old.
You can inspect the calls with a packet inspector and even try to spoof it to see whether you can circumvent that rather crude security measure.
Cucumber-JVM has dependencies on Java 1.6
My client's application runs on Java 1.5 and this can't be changed at the moment
Does anyone know a way to use Cucumber-JVM to exercise my client's application?
I also posted this question on the Cukes mailing list (https://groups.google.com/forum/#!topic/cukes) where I got a response from Aslak Hellesøy (CUcumber's creator):
Me:
Is there any reasonable way to use Cucumber-JVM, built under Java 1.6, to develop a Java application that must run on JRE 1.5?
Aslak Hellesøy:
Short answer: No.
Long answer: Try it and share the problems you experience, then we can talk about whether it's possible to work around them.