Skip to content

sjava w2k

4 messages · Christian Schulz, Andrew C. Ward, Brian Ripley

#
Christian, this may occur if the environment variable JAVA_HOME is not set.
Windows help ("environment variables, adding") explains how to do this.

Regards,

Andrew C. Ward

CAPE Centre
Department of Chemical Engineering
The University of Queensland
Brisbane Qld 4072 Australia
andreww at cheque.uq.edu.au

----- Original Message ----- 
From: "Christian Schulz" <ozric at web.de>
To: <r-help at stat.math.ethz.ch>
Sent: Friday, April 25, 2003 7:04 PM
Subject: [R] sjava w2k
"C:\\WINNT\\system32\\os2\\dll;"
Path
"C:\\latex\\texmf\\miktex\\bin\\;C:\\server\\cvs;C:\\server\\perl\\bin;C:\\s
erver\\apache\\php;C:\\server\\mysql\\bin;C:\\WINNT\\system32;C:\\WINNT;C:\\
WINNT\\System32\\Wbem;C:\\chris\\Tcl\\bin;C:\\chris\\dm\\SUPERQ~1;c:\\chris\
\dm\\rw1070\\library\\Sjava\\libs;"
PATHEXT
".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH"
PROCESSOR_ARCHITECTURE
"x86"
PROCESSOR_IDENTIFIER
"x86 Family 6 Model 7 Stepping 1, AuthenticAMD"
PROCESSOR_LEVEL
"6"
PROCESSOR_REVISION
"0701"
ProgramFiles
"C:\\Programme"
R_HOME
"C:\\chris\\dm\\rw1070"
R_USER
"C:"
SystemDrive
"C:"
SystemRoot
"C:\\WINNT"
TCL_LIBRARY
"C:\\chris\\dm\\rw1070/Tcl/lib/tcl8.4"
#
On Fri, 25 Apr 2003, Christian Schulz wrote:

            
Set JAVA_HOME!  I am presuming that this is from my build, but you didn't
give the origin.  You probably also need to follow the rest of the
installation instructions in

http://www.stats.ox.ac.uk/pub/bdr/SJava/ReadMe

The essence is

Sjava.zip -- unzip in ...\rw1062\library.  Having installed a Sun Java
JRE from java.sun.com (e.g. j2re-1_4_1_02-windows-i586-i.exe), you need to
set the environment variable JAVA_HOME to point to its top-level
directory.  The simplest way to so this is to create a file .Renviron
in either the working directory or your home directory (see the rw-FAQ)
and insert a line like

JAVA_HOME=c:/Program Files/Java/j2re1.4.1_02

For rw1070 you can (I believe) use install.packages to get the correct 
compiled version of SJava.zip, then set JAVA_HOME as above.
#
andrew,

sorry if i'm "standing on a tube"
I have the possibilities to set path and classpath  environment variables.
Ok , i have a path to my jdk1.4/bin   and  to c:/rw1070/library/sjava/libs
(, the latter  may not necessary?)

...should i set a classpath to something else?
i.e to:
C:/rw1070\library\SJava\org\omegahat\Jars

...i'm try it now!

many thanks & regards,
Christian






----- Original Message -----
From: "Andrew C. Ward" <andreww at cheque.uq.edu.au>
To: "Christian Schulz" <ozric at web.de>; <r-help at stat.math.ethz.ch>
Sent: Friday, April 25, 2003 1:26 PM
Subject: Re: [R] sjava w2k
set.
"C:\\latex\\texmf\\miktex\\bin\\;C:\\server\\cvs;C:\\server\\perl\\bin;C:\\s
erver\\apache\\php;C:\\server\\mysql\\bin;C:\\WINNT\\system32;C:\\WINNT;C:\\
WINNT\\System32\\Wbem;C:\\chris\\Tcl\\bin;C:\\chris\\dm\\SUPERQ~1;c:\\chris\