Page 1 of 1

Updated Java; UMS won't run

Posted: Mon Oct 05, 2015 4:29 am
by protected
Silly problem probably.

I updated java and now UMS seems unable to find the virtual machine. Apparently java 8 has this in PATH:

C:\ProgramData\Oracle\Java\javapath

which contains shortcuts to the executables. I also tried adding the real path to \bin , but in neither case is UMS.exe capable of running.

With just the original path, Minecraft, which I used as a control tests, runs from the executable.

UMS runs from UMS.bat after modified to use the following syntax:

"c:\Real Path To\javaw.exe" ...default args...

Ideas?

Re: Updated Java; UMS won't run

Posted: Mon Oct 05, 2015 5:25 am
by protected
Sorry, I forgot. Version 5.2.3 . Windows 7.

Re: Updated Java; UMS won't run

Posted: Mon Oct 05, 2015 7:08 am
by SubJunk
Hmm that's weird that Java would add an incorrect entry to PATH. You can remove that manually, if you want to know how let me know

Re: Updated Java; UMS won't run

Posted: Tue Oct 06, 2015 5:43 am
by protected
I don't know of an entry I can add to PATH that works with UMS, and any format works with any other program.

Re: Updated Java; UMS won't run

Posted: Sat Oct 10, 2015 9:26 am
by protected
No ideas?

Re: Updated Java; UMS won't run

Posted: Tue Oct 13, 2015 5:30 am
by jj123
Why don't you add the correct java 8 path to the PATH environment variable?

From a command prompt type:
sysdm.cpl

That should open the "System Properties" window, Click the Advanced Tab
At the bottom t=click the Environment Variables button

In the System variables section, scroll down and find the PATH variable, double click it to edit.
Add the full java path to the bin directory to the start of the PATH variable
Note that each path should be separated by a semicolon ;

UMS should now start correctly

Re: Updated Java; UMS won't run

Posted: Tue Oct 13, 2015 12:39 pm
by skydivinggeek
By default a standard java install will install itself into the path. Make sure you run it as administrator when installing.

Also after the install, run a CMD prompt and type "java -version" and do you get any output other then:

'java' is not recognized as an internal or external command,operable program or batch file.

Also post your path by again going into a CMD prompt and type: SET <Enter>

and Looks for the path variable "path=etc etc" and copy and paste that.