Question about SmartClient and Java version

I read the discussion about Java 6 and I have a related question :

We will have consultants who are using different Java version on their (Windows) pc for different applications. One of them will be Servoy SmartClient.

Is it possible to the SmartCient to a specific Java version.

So on a Pc there is Java 5 and Java 6 and the SmartClient will use version 5 whilst another application is using version 6.

Is there a way to do this, preferably without modifying shortcuts etc. ?

The best way would be to have a preference setting on the server, which can be overruled by the same preference in the SmartClient.

Any Ideas ?

Good question!

Would like to know that also!

You can set your preferred JVM in the Java webstart preferences on the client.

Paul

Paul,

Can you tell me how to do this ? (example)

Regards,

Either through the Java Webstart console, which you might find under Start - Programs - Java WebStart or you can set it through the Java console, which you should be able to access through Start - Settings - Control Panel - Java. Then you need to modify the active java version for JNLP’s (Java tab, Java Application runtime Settings)

Servoy 3.5 rc2 will explictly state the preferred order in the jnlp
1.4+
1.5+
1.6+

Jan Blok:
Servoy 3.5 rc2 will explictly state the preferred order in the jnlp
1.4+
1.5+
1.6+

Cool! :D

I assume the order is:
1.6+
1.5+
1.4+

?

No, we require 1.4 as minimum, recommend 1.5, but support the new 1.6 as well.
So it seems logical to keep the order 1.4 to 1.6 (not many end user will have 1.4 after all)

Hmm, don’t bet on it.

1.4.2 is still available on all apple computers.

1.5 is preferred but 1.4. will be used upon request of the JVM…

I am not an expert on Java configuration, I do not know what the Jnlp does exactly, so another question :

Is the Jnlp only for Servoy, or can other applications also use this ?

If other applications also use it, is the setting in the Jnlp specific for Servoy or will other applications also use the same settings ?
If that is the case, i still have the initial problem.

Regards,

Hans Nieuwenhuis:
Is the Jnlp only for Servoy, or can other applications also use this ?

It is used by all the application that are based on Java Web Start technology so if you change the prefs in the control panel ALL of the JWS application will use the VM you set.

That was what i was afraid of.

So again : could Servoy create a server and a client preference
to bind a specific Java version.

Regards

I believe that is exactly what Jan Blok suggested.
You download a jnlp file from Servoy server and in there it has the cascading java requirement.

Maybe Jan can elaborate on this a bit more.