Jump to content

JAVA error


Recommended Posts

Hello everybody,

I have made a unattended installation with Windows XP PRO + SP1a.

That works great!

But now the problem:

In the winnt.sif file is add the followed command lines

[GuiRunOnce]    Java.cmd

The Java.cmd file contains the line

start /wait %systemdrive%\Windows\Options\Java_VM\j2re-1_4_2_04-windows-i586-p.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1"

But Java files (*.class files) don't worked after this silent installation.

If I run the Java installation after the silent Java installation, JAVA don't worked!

If I installed Windows XP PRO + SP1a unattended and I run the JAVA installation manually, the JAVA files worked correctly!

If I installed Windows XP PRO + SP1a unattended and I run the JAVA installation with a batchfile with the same command line as above, the JAVA files worked correctly!

What is wrong? :)

Link to comment
Share on other sites


Mine is a little different perhaps its the ,extra after jrecore

"%systemdrive%\Install\SunJava\j2re-1_5_0-beta-windows-i586.exe /s /v /qn ADDLOCAL=jrecore,extra IEXPLORER=1 MOZILLA=1"

That works for me.

Link to comment
Share on other sites

:) I have try it on difference computers but it doesn't worked!

If I add the

start /wait %systemdrive%\Windows\Options\Java_VM\j2re-1_4_2_04-windows-i586-p.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1"

in the Java.cmd file and

[GuiRunOnce]   Java.cmd

in my Winnt.sif Windows installed Java silent but I don't see any results!

Perhaps that the installation location

%systemdrive%\Windows\Options\Java_VM
the problem is?

I don't know what I can change so that it is well works automatically.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...