Spencer_Cockrell_39

Using a specific version of Java for your User Interface

Discussion created by Spencer_Cockrell_39 on Jun 14, 2016
Sometimes, it becomes necessary to have more than one installation of Java on your system. When this happens, the system can utilize the incorrect Java when attempting to start your User Interface. For an example of how to do this, you can go into the following directory:

UserInterface\bin\UCDJ.ini

You can change the cmd= line from :
cmd="javaw" -Xmx1024m -Dsun.locale.formatasdefault=true com.uc4.ucdf.UCDialogFactory -U%User%

to add the full directory to java 1.7 in front of the javaw command. Something along the lines of the following should work:
cmd="c:\program files\java\jre1.7\bin\javaw" -Xmx1024m -Dsun.locale.formatasdefault=true com.uc4.ucdf.UCDialogFactory -U%User%

Your path may look different depending on where Java is installed.

Outcomes