Jump to content

Recommended Posts

Posted
Isn't the licence for the MSI like $700?

 

I've heard it's not cheap (or at least signing up for whichever subscription gets you access to it isn't). Probably why they are discouraging the "extract it from the exe" trick.

Posted

I just copied all the files it installs to a network drive, then wrote some bat files to run the 2 apps that use it using that path, worked fine for minecraft, pdf split and merge.

@echo off

cd /d A:\minecraftedu\

start \\blah.local\blah$\Java\bin\javaw.exe -jar Launcher.jar

  • 1 month later...
Posted

Sigh.... I hate Java.... I hate Oracle......

 

Is it just me that thinks Oracle are taking the P when they release such carp software and then try and charge you for the pleasure of fixing the security holes they seem to specialise in. It was bad enough that I had to deploy updated msi via GPO every other week, but I can't make that work any more.

 

But moving on :)

 

Having been through the suggestions in the posts in this thread, I'm at the point where deploying via startup script with a config file seems to be my only remaining option.

 

I am ignorant of scripting, but this is my first guess:

 

@echo off
if EXIST "C:\Program Files (x86)\Java\jre1.8.0_111" GOTO End
if EXIST "C:\Program Files\Java\jre1.8.0_111" GOTO End

start \\myserver\SoftwareDeploy\java\java-8u111.exe

:End

 

Am I heading in the right direction? And do I just put the config file in the same directory as the exe?

 

Thanks in advance

Posted
And do I just put the config file in the same directory as the exe?

Nope! That would be too easy. :)

 

java.settings.cfg goes in: %ProgramData%\Oracle\Java

  • Thanks 1

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



×
×
  • Create New...