Question about SmartClient and Java version

Questions, answers, tips and ideas on Servoy Client

Question about SmartClient and Java version

Postby Hans Nieuwenhuis » Thu May 31, 2007 12:40 pm

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 <bind> 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 ?
Hans Nieuwenhuis
Betagraphics
http://www.deltics.nl
http://www.betagraphics.nl

Servoy Version 7.3.1
Java version 1.7.0.x
Database Oracle 11g
User avatar
Hans Nieuwenhuis
 
Posts: 1026
Joined: Thu Apr 12, 2007 12:36 pm
Location: Hengelo, The Netherlands

Postby Harjo » Thu May 31, 2007 1:13 pm

Good question!

Would like to know that also!
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby pbakker » Thu May 31, 2007 1:20 pm

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

Paul
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Postby Hans Nieuwenhuis » Thu May 31, 2007 1:27 pm

Paul,

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

Regards,
Hans Nieuwenhuis
Betagraphics
http://www.deltics.nl
http://www.betagraphics.nl

Servoy Version 7.3.1
Java version 1.7.0.x
Database Oracle 11g
User avatar
Hans Nieuwenhuis
 
Posts: 1026
Joined: Thu Apr 12, 2007 12:36 pm
Location: Hengelo, The Netherlands

Postby pbakker » Thu May 31, 2007 1:40 pm

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)
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Postby Jan Blok » Thu May 31, 2007 1:41 pm

Servoy 3.5 rc2 will explictly state the preferred order in the jnlp
1.4+
1.5+
1.6+
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby Harjo » Thu May 31, 2007 1:42 pm

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


Cool! :D
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby IT2Be » Thu May 31, 2007 1:52 pm

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

?
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Postby Jan Blok » Thu May 31, 2007 2:02 pm

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)
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby IT2Be » Thu May 31, 2007 2:07 pm

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...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Postby Hans Nieuwenhuis » Thu May 31, 2007 2:36 pm

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
Betagraphics
http://www.deltics.nl
http://www.betagraphics.nl

Servoy Version 7.3.1
Java version 1.7.0.x
Database Oracle 11g
User avatar
Hans Nieuwenhuis
 
Posts: 1026
Joined: Thu Apr 12, 2007 12:36 pm
Location: Hengelo, The Netherlands

Postby ngervasi » Thu May 31, 2007 8:40 pm

Hans Nieuwenhuis wrote: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.
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Postby Hans Nieuwenhuis » Fri Jun 01, 2007 8:46 am

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
Hans Nieuwenhuis
Betagraphics
http://www.deltics.nl
http://www.betagraphics.nl

Servoy Version 7.3.1
Java version 1.7.0.x
Database Oracle 11g
User avatar
Hans Nieuwenhuis
 
Posts: 1026
Joined: Thu Apr 12, 2007 12:36 pm
Location: Hengelo, The Netherlands

Postby ROCLASI » Fri Jun 01, 2007 11:52 am

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.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 4 guests