Updated Java; UMS won't run

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
protected
Posts: 41
Joined: Sun Apr 12, 2015 5:59 am

Updated Java; UMS won't run

Post 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?
protected
Posts: 41
Joined: Sun Apr 12, 2015 5:59 am

Re: Updated Java; UMS won't run

Post by protected »

Sorry, I forgot. Version 5.2.3 . Windows 7.
User avatar
SubJunk
Lead Developer
Posts: 3800
Joined: Sun May 27, 2012 4:12 pm

Re: Updated Java; UMS won't run

Post 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
protected
Posts: 41
Joined: Sun Apr 12, 2015 5:59 am

Re: Updated Java; UMS won't run

Post 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.
protected
Posts: 41
Joined: Sun Apr 12, 2015 5:59 am

Re: Updated Java; UMS won't run

Post by protected »

No ideas?
jj123
Posts: 38
Joined: Tue Jul 29, 2014 10:33 am

Re: Updated Java; UMS won't run

Post 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
skydivinggeek
Posts: 17
Joined: Wed Sep 30, 2015 1:14 pm

Re: Updated Java; UMS won't run

Post 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.
Post Reply