I install the java RE version (.exe) silently via LANDesk with the following switches: /s IEXPLORER=1 MOZILLA=1

When I do this, java is installed but I miss the javaws.exe, javaw.exe and java.exe file in the system32 folder.

Due to this the java -version command doesn't work and some programms don't work.

If I install Java manually the files are installed. Anybody any clue?

Jva version 7u13

Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

1

Bit of a long shot here but you could try deploying via the MSI: http://www.klaus-hartnegg.de/gpo/msi_java.html

LANdesk uses the local user account to run a push deployment if the logged in user is a local administrator. If not then it uses the local SYSTEM account. Both bypass UAC but if I were you I would turn UAC off just for testing purposes.

Answered 02/05/2013 by: mpace
Red Belt

Please log in to comment
1

they should be located in C:\Program Files\Java\jre7\bin

Answered 02/05/2013 by: SMal.tmcc
Red Belt

Please log in to comment
1

If you're running a 64-bit version of Windows, look for them in C:\Windows\SysWow64. 

Answered 02/05/2013 by: msalsbury
Second Degree Blue Belt

Please log in to comment
1

You can use the command line here to set the install directory in silent mode:

<jre>.exe [/s] [INSTALLDIR=<drive>:\<JRE_install_path>] [STATIC=1] [WEB_JAVA=0/1] [WEB_JAVA_SECURITY_LEVEL=VH/H/M/L]

Answered 02/06/2013 by: piyushnasa
Red Belt

Please log in to comment
0

The Java installer should add the location of its binaries to the System PATH. It it hasn't, the PATH is probably too long. I routinely rip stuff out of PATH because it often gets populated unnecessarily.

Answered 02/06/2013 by: VBScab
Red Belt

Please log in to comment
0

thanks for the answers.

Its working now when I run it as the logged in user, and not the local system account

Answered 02/07/2013 by: Tsjippy
White Belt

Please log in to comment
Answer this question or Comment on this question for clarity