On Tue, Dec 04, 2012 at 07:23:23PM -0800, Robert Arkiletian wrote:
>Wondering what plans districts have to keep supporting BCeSIS
>considering Java 7 doesn't work with BCeSIS.
BCeSIS appears to work under Java 7. I successfully completed an extract
just a few minutes ago.
If you tried it before you might have received a version error about
JInitiator. It's because Java 7 changed the vendor string from Sun to
Oracle. The workaround is to change it back, by adding a parameter to
the JRE command line.
For GUI users... Open up the Java Control Panel, go to the Java tab,
click View. In the Runtime Parameters (see attached screenshot), add:
-Djava.vendor="Sun Microsystems Inc."
For a system-wide configuration, you can configure the global
deployment.properties file:
deployment.javaws.jre.0.registered=true
deployment.javaws.jre.0.platform=1.7
deployment.javaws.jre.0.osname=Linux
deployment.javaws.jre.0.path=/usr/lib/jvm/java-7-oracle-1.7.0.9/jre/bin/java
deployment.javaws.jre.0.product=1.7.0_09
deployment.javaws.jre.0.osarch=amd64
deployment.javaws.jre.0.location=http\://
java.sun.com/products/autodl/j2se
deployment.javaws.jre.0.enabled=true
deployment.javaws.jre.0.args=-Djava.vendor\="Sun Microsystems Inc."
Some of those fields (e.g. path) will probably be different on your
system [1]. If you go through the GUI method, the user's
~/.java/deployment/deployment.properties will contain the appropriate
configuration and you can copy that to the system configuration. The
minimum properties that need to be configured appear to be path,
product, enabled, and args.
I have only just begun testing this and haven't pushed it out to any
thin clients yet, but it's looking promising. Ideally I want to find a
way to set that parameter only for BCeSIS since I don't know what effect
it might have on other programs. On the other hand AFAIK the parameter
only affects webstart, so there probably isn't a lot of impact.
Hope that helps!
[1] My Java packages come from
https://github.com/rraptorr/oracle-java7
for Java 7 and
https://github.com/rraptorr/sun-java6 for Java 6.
--
Ryan Tandy - Programmer/Analyst
rta...@sd63.bc.ca
School District 63 (Saanich)
+1 250 652 7385