[Scilab-users] Changing Java JDK/JRE version used by Scilab

Joo Cat joodlink at hotmail.com
Fri Jan 30 03:35:00 CET 2015


My platform is Windows 7 (64 bit) and I have the current version of Java (1.8.0_31).
I have set the JAVA_HOME environment variable but Scilab doesn't seem to detect it. It is still showing 1.6.0_41.

> From: clement.david at scilab-enterprises.com
> To: users at lists.scilab.org
> Date: Wed, 28 Jan 2015 13:47:09 +0100
> Subject: Re: [Scilab-users] Changing Java JDK/JRE version used by Scilab
> 
> Hello,
> 
> Le mercredi 28 janvier 2015 à 15:12 +0800, Joo Cat a écrit :
> > I have a Java class which was compiled using JDK 1.8. When I try to
> > import this class into Scilab, it gave me an error which says:
> > Unsupported major.minor version 52.0.
> > I suspected that this could be due to Scilab using an older JRE. So I
> > checked using system_getproperty('java.version') and it shows
> > 1.6.0_41. Is there a way to change the JRE version used by Scilab?
> 
> Depending on your platform, there is a standard way to change it however
> Scilab is distributed using an old JVM to avoid regressions, avoid doing
> that. Basically, setting the JAVA_HOME environment variable change the
> selected JVM.
> 
> > Similarly, is there a way to change the JDK used as well? If I try to
> > compile a source file that have features from newer JDK using
> > jcompile, it will give an error. Thanks!
> 
> Again depending on your platform and JVM, jcompile can use a more recent
> compiler ; ecj is provided as a fallback compiler.
> 
> --
> Clément
> 
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20150130/dac85e70/attachment.htm>


More information about the users mailing list