Home » Developer & Programmer » Forms » JAVA_HOME vARIABLE (ORACLE FORMS 12C)
JAVA_HOME vARIABLE [message #667476] Mon, 01 January 2018 12:05 Go to next message
GUPPY6970
Messages: 18
Registered: March 2015
Junior Member
I installed Oracle Forms 12c. When I try to load a form I get the following error:
JAVA_HOME VARIABLE IS NOT SET.
I loaded the variables into the Environment variables (see below).
JAVA_HOME = C:\Program Files\Java\jdk-9.0.1
JRE_HOME = C:\Program Files\Java\jre-9.0.1

I rebooted and I am still getting the same error.
Re: JAVA_HOME vARIABLE [message #667479 is a reply to message #667476] Mon, 01 January 2018 13:47 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
do as below

SET JAVA_HOME = C:\Program Files\Java\jdk-9.0.1
SET JRE_HOME = C:\Program Files\Java\jre-9.0.1
SET

COPY the results from above then PASTE all back here.
Re: JAVA_HOME VARIABLE [message #667480 is a reply to message #667479] Mon, 01 January 2018 16:36 Go to previous messageGo to next message
GUPPY6970
Messages: 18
Registered: March 2015
Junior Member
I tried it but I still get the same results..

Re: JAVA_HOME vARIABLE [message #667486 is a reply to message #667476] Tue, 02 January 2018 01:38 Go to previous messageGo to next message
John Watson
Messages: 8922
Registered: January 2010
Location: Global Village
Senior Member
You may need to use a path that does not include spaces. Sometimes enclose the path within double quotes will help.
Where are you setting these variables? In the registry or within a session?
Re: JAVA_HOME vARIABLE [message #667496 is a reply to message #667486] Tue, 02 January 2018 06:46 Go to previous messageGo to next message
GUPPY6970
Messages: 18
Registered: March 2015
Junior Member
I set the variables in the environment variables.
I tried in the system variables section and the User variables section.
I tried putting quotes in both with the same results.
I also tried setting the variables in DOS under the administrator account with and with out quotes.
I am still getting the same results.
Re: JAVA_HOME vARIABLE [message #667503 is a reply to message #667496] Tue, 02 January 2018 12:45 Go to previous messageGo to next message
joy_division
Messages: 4963
Registered: February 2005
Location: East Coast USA
Senior Member
Show us, don't just tell us.

And what do you mean by "load a form?"
Re: JAVA_HOME vARIABLE [message #667504 is a reply to message #667503] Tue, 02 January 2018 14:05 Go to previous messageGo to next message
Littlefoot
Messages: 21806
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
In the initial message, you said you set
JAVA_HOME = C:\Program Files\Java\jdk-9.0.1
JRE_HOME = C:\Program Files\Java\jre-9.0.1

What happens if you add \bin directory (check first whether it exists, of course):
JAVA_HOME = C:\Program Files\Java\jdk-9.0.1\bin
JRE_HOME = C:\Program Files\Java\jre-9.0.1\bin
Re: JAVA_HOME vARIABLE [message #667505 is a reply to message #667504] Tue, 02 January 2018 14:28 Go to previous message
GUPPY6970
Messages: 18
Registered: March 2015
Junior Member
I tried adding the \bin in the environment variables and in DOS with the same results.
For load form I click on FRMBLD to open the form for development.
See attached for examples of how I tried to load the variables.
Previous Topic: Browse Button
Next Topic: exit application
Goto Forum:
  


Current Time: Thu Mar 28 05:45:33 CDT 2024