Primavera Systems Technology User Community - P6v7 Web Services Oracle Universal Installer Error Setting Java_Home veriab Primavera Systems Technology User Community.
I have recently downloaded Maven and followed the instructions given on this this page. I already have ant installed on my machine.Now, if I want to verify that Maven is installed perfectly or not it is giving me error that JAVA_HOME is not set correctly, but same works perfectly fine for ANT.
I went to the directory to check that java.exe is actually there in that directory or not and it was there. I checked the environment variables they set fine. I restarted the system and checked again but same problem. Please let me know what am I missing.
P6 EPPM Installation and Configuration Guide.
paulpaul
1,8901111 gold badges4444 silver badges8484 bronze badges
7 Answers
JAVA_HOME should point to jdk directory and not to jre directory. Also JAVA_HOME should point to the home jdk directory and not to jdk/bin directory.
Assuming that you have JDK installed in your program files directory then you need to set the JAVA_HOME like this:
xxx is the jdk version
Follow this link to learn more about setting JAVA_HOME:
Juned AhsanJuned Ahsan
56.6k99 gold badges7777 silver badges109109 bronze badges
Follow the instruction in here.
JAVA_HOME should be like this
26.9k1616 gold badges6161 silver badges101101 bronze badges
Just remember to add quotes into the path if you have a space in your path to java home.C:Program Filesjavajavaxxx doesn't workbut'C:Program Filesjavajavaxxx' does.
JAVA_HOME = C:Program FilesJavajdk(JDK version number)
Example: C:Program FilesJavajdk-10
And then restart you command prompt it works.
karthik padavkarthik padav
The JAVA_HOME should point to the JDK home rather than the JRE home if you are going to be compiling stuff, likewise - I would try and install the JDK in a directory that doesn't include a space. Even if this is not your problem now, it can cause problems in the future!
nwalthamnwaltham
1,23711 gold badge1616 silver badges3737 bronze badges
You are pointing your JAVA_HOME to the JRE which is the Java Runtime Environment. The runtime environment doesn't have a java compiler in its bin folder.You should download the JDK which is the Java Development Kit. Once you've installed that, you can see in your bin folder that there's a file called javac.exe. That's your compiler.
JRENJREN
2,93322 gold badges2222 silver badges4242 bronze badges
Not the answer you're looking for? Browse other questions tagged javamaveninstallationpath-variables or ask your own question.Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking âSign up for GitHubâ, you agree to our terms of service and privacy statement. Weâll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CommentsError Setting Java_home Variable For P6 Suite Installer Windows 10
commented Sep 21, 2012
commented Sep 22, 2012
commented Apr 5, 2014
commented Feb 24, 2015
commented Jan 5, 2016
commented Apr 19, 2016Error Setting Java_home Variable For P6 Suite Installer Windows 7
commented Oct 25, 2016
Error Setting Java_home Variable For P6 Suite Installer Downloadcommented Jun 22, 2019![]()
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Error: â Checking monitor: must be configured to display at least 256 colors >>> Could not execute auto check for display colors using command /usr/bin/X11/xdpyinfo. Check if the DISPLAY variable is set.Failed <<<< Some requirement checks failed. You must fulfill these requirements before.
Follow below setups to fix this issue.
Download Xming and install.
Launch Xming using XLaunch.exe
You will see Xming server running on your task bar.
Setup putty to configure X11â>Enable X11 forwarding, also provide value at X display location as âlocalhost:0â
Error Setting Java_home Variable For P6 Suite Installer Software
Log-In server in same session. We will be able to see installer UI screen.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |