Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java install with config file from network shares.

2997562Jul 23 2015 — edited Jul 23 2015

Hi all,

When attempting to create a reference Windows image which includes Java 8u51, I have a problem whereby execution of the installation via the task sequence fails with the error " Unable to install Java. There are errors in the following switches: "INSTALLCFG=Config.cfg";  Check that the commands are valid, and try again.

The command I've given to install Java in the MDT application is: JavaSetup8u51.exe INSTALLCFG=Config.cfg, with the working directory as .\Applications\Oracle Java 8 Update 51.

When I execute the same string locally on any other machine, using the same files (i.e. not referencing files across the network), it works perfectly. I'm guessing it's something to do with the fact that MDT references the network location/path and probably resolves the command as "\\server\executable" INSTALLCFG="\\server\configfile".

 

Is there any way to make this work across the network, using UNC paths?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 20 2015
Added on Jul 23 2015
0 comments
2,013 views