> In the JUMP launcher we can look at the SystemProperty
> java.specification.version to make sure it is >= 1.5 if not 
> we display a
> window that says you must have version 1.5 or greater and 
> maybe provide
> a clickable link to the Java site. Unfortunately if we compile that
> class with 1.5 they won't even get that far.
A Java class file compiled with 1.5 should run with 1.4.
All new construct of 1.5 are, AFAIK, only sintactic sugar.
I dont't know about 1.3 or previous, but I don't know how many
people are still using those, either...

Bye
Paolo Rizzi


> 
> 
> Paul
> 
> 
> Larry Becker wrote:
> > After looking over the literature, I don't see a cross-platform
> > solution that wouldn't add to the potential problem.  I'm concerned
> > that it might incorrectly stop JUMP from running when it 
> was actually
> > possible, due to variations in the platform and JVM.
> >
> > If it makes it as far as displaying the splash screen before lockup,
> > we could simply add the text "Java version 1.5 or higher 
> required" to
> > the splash screen.  That way when it locks up, at least the user is
> > looking at a possible solution.
> >
> > regards,
> > Larry
> >
> > On 9/24/07, *Sunburned Surveyor* <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >     Jukka,
> >
> >     I have no idea how we might handle the JRE version in 
> the batch script
> >     on Windows or Linux. Maybe Larry or Paul have suggestions?
> >
> >     Maybe we need to add a switch statement to the batch 
> script that uses
> >     the "java -version" command and prints an error message if the
> >     installed version isn't appropriate.
> >
> >     If Larry and Paul can confirm I'll see if I can modify 
> the launch
> >     scripts to do this.
> >
> >     The Sunburned Surveyor
> >
> >     On 9/23/07, Rahkonen Jukka <[EMAIL PROTECTED]
> >     <mailto:[EMAIL PROTECTED]>> wrote:
> >     > Hi,
> >     >
> >     > Could it be possible/simple to add some kind of Java version
> >     check during OpenJUMP startup?  We have lots of Java Web Start
> >     applications, an with them the minimum (or even strict) Java
> >     version can be advertised in the .jnlp file.  For the 
> same reason
> >     our users may need several Java JRE versions installed, and
> >     sometimes it is hard to know which is the default one that is
> >     started by openjump.bat file. Users would be better off 
> if they'd
> >     see message like "Java version 1.x or higher required" 
> instead of
> >     nothing at all, all perhaps something as informative as 
> "Unable to
> >     launch".
> >     >
> >     > -Jukka Rahkonen-
> >     >
> >     >
> >     
> --------------------------------------------------------------
> -----------
> >     > This SF.net email is sponsored by: Microsoft
> >     > Defy all challenges. Microsoft(R) Visual Studio 2005.
> >     > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >     > _______________________________________________
> >     > Jump-pilot-devel mailing list
> >     > Jump-pilot-devel@lists.sourceforge.net
> >     <mailto:Jump-pilot-devel@lists.sourceforge.net>
> >     > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >     <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel>
> >     >
> >
> >     
> --------------------------------------------------------------
> -----------
> >     This SF.net email is sponsored by: Microsoft
> >     Defy all challenges. Microsoft(R) Visual Studio 2005.
> >     http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >     _______________________________________________
> >     Jump-pilot-devel mailing list
> >     Jump-pilot-devel@lists.sourceforge.net
> >     <mailto:Jump-pilot-devel@lists.sourceforge.net>
> >     https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
> >
> >
> >
> > -- 
> > http://amusingprogrammer.blogspot.com/
> > 
> --------------------------------------------------------------
> ----------
> >
> > 
> --------------------------------------------------------------
> -----------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > 
> --------------------------------------------------------------
> ----------
> >
> > _______________________________________________
> > Jump-pilot-devel mailing list
> > Jump-pilot-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >   
> 
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to