I have installed the security viewer, but when I try and run it I get a message that: " You have not set the JAVA_HOME environment variable"
How do I set this variable?
thankyou.
stuckinbo (BOB member since 2007-05-09)
I have installed the security viewer, but when I try and run it I get a message that: " You have not set the JAVA_HOME environment variable"
How do I set this variable?
thankyou.
stuckinbo (BOB member since 2007-05-09)
You have to create a new environment variable named JAVA_HOME, and to specify the complete path to your Java folder.
For more explanation, you can refer to http://www.wilsonmar.com/1envvars.htm
djikstra (BOB member since 2004-03-23)
Thankyou for this, it is getting me someway, but sorry I am not very technical.
I have got as far as entering the name for the variable as “JAVA_HOME”
But what do I need for the “Variable_value”?
thankyou
stuckinbo (BOB member since 2007-05-09)
The path to your java jdk bin folder:
e.g.
Enter:
C:\Sun\AppServer\jdk
where the pathe is:
C:\Sun\AppServer\jdk\bin
wally (BOB member since 2007-03-19)
I am very sorry, but I don’t seem to have either of these directories? could you please explain further? thanksyou
stuckinbo (BOB member since 2007-05-09)
If you are using Windows XP, right click my computer, then properties, then click on the advanced tab. You’ll see an option environment variables. Add a new one called JAVA_HOME with the appropriate value.
bension (BOB member since 2005-09-01)
yes thanksyou too, I am trying to create the JAVA_HOME variable, but I cant find
where would i find these?
thanksyou
stuckinbo (BOB member since 2007-05-09)
Do you have java installed on your machine? If you don’t have java installed, thats your first problem.
If so where did you install it? It may not be c:\sun… Perhaps it is c:\program files\java… You’ll have to figure that out yourself.
bension (BOB member since 2005-09-01)
thankyou for your patience,
yes i do have JAVA installed, and I have put this location as the variable path:
C:\Program Files\Java\jre1.6.0\bin
but this now provides me with a difrent error:
“Windows cannot find “C:\Program Files\Java\jre1.6.0\bin\javaw” make sure…”
I do not know what this JAVAW is?
stuckinbo (BOB member since 2007-05-09)
javaw is the actual executable it tries to call. It should be present in the bin folder under your JRE folder, so it looks like there’s something not quite right with your Java installation.
I notice you are using JRE 1.6. This version is not supported with XIR2. Downgrade to Java 1.4.2_x or 1.5, those versions are supported.
Security Viewer only asks for a JAVA_HOME if you install it outside the Business Objects folder. If you put the Secviewer files in the Business Objects program folder, Security Viewer should run without requiring a JAVA_HOME.
dutchbint (BOB member since 2007-05-16)
Thankyou everyone, I was on holiday and have returned. Hoping we can solved this soon.
I have installed this files to
C:\Program Files\Business Objects\security viewer
I have also
C:\Program Files\Business Objects\j2sdk1.4.2_08
bit still it says I must set the java home.
I must be doing something wrong!
stuckinbo (BOB member since 2007-05-09)
Have you installed the (from install instructions) J2EE v. 1.4 on the machine?
Can be obtained from the Sun java site, file is called:
j2eesdk-1_4_03-windows.exe
Once installed you then need to set the environment variable for the JAVA_HOME
wally (BOB member since 2007-03-19)