Message Boards
Problems with JDK/JRE when Starting LR 7.0 in Win 7
Julian Pfeil, modified 7 Years ago.
Problems with JDK/JRE when Starting LR 7.0 in Win 7
Junior Member Posts: 72 Join Date: 3/1/16 Recent Posts
(Windows 7, 64 bit, JDK 64 bit, JRE 64 bit)
I did download a fresh copy of the LR7.0-Tomcat-Bundle, launched it and ran the initial setup wizard. After that i got the following UI-Problem in the upper right corner:
When looking into the liferay.[date].log file (attached) you can see that i got an error stating that i don't have a full JDK (which i have installed).
Also, when looking into my catalina.[date].log file (attached, too) you can see that it states "JAVA HOME" to link to a JRE-Path.
But i did set my environmental variables in windows as follow:
My System Variables-PATH-Variable begins with "C:\Program Files\Java\jdk1.8.0_91\bin;C:\ProgramData\Oracle\Java\javapath;"
where the last part set by an java installation has some links to JRE executables (java, javaw, javaws).
Also i have my tomcat's setenv.bat file attached (As you can see i also set my JDK path there, i think).
What did i set up wrong/where could my problems appear from?
Any help is greatly appreciated.
I did download a fresh copy of the LR7.0-Tomcat-Bundle, launched it and ran the initial setup wizard. After that i got the following UI-Problem in the upper right corner:
When looking into the liferay.[date].log file (attached) you can see that i got an error stating that i don't have a full JDK (which i have installed).
Also, when looking into my catalina.[date].log file (attached, too) you can see that it states "JAVA HOME" to link to a JRE-Path.
But i did set my environmental variables in windows as follow:
My System Variables-PATH-Variable begins with "C:\Program Files\Java\jdk1.8.0_91\bin;C:\ProgramData\Oracle\Java\javapath;"
where the last part set by an java installation has some links to JRE executables (java, javaw, javaws).
Also i have my tomcat's setenv.bat file attached (As you can see i also set my JDK path there, i think).
What did i set up wrong/where could my problems appear from?
Any help is greatly appreciated.
deveshree zawar, modified 7 Years ago.
RE: Problems with JDK/JRE when Starting LR 7.0 in Win 7 (Answer)
Junior Member Posts: 61 Join Date: 2/9/16 Recent Posts
Hi,
Are you starting the server through eclipse?
If so, can you please check the Windows->Preferences->Java->Installed JRE
Also, can you try to reinstall Java?
Hope this helps!
Thanks,
Deveshree
Are you starting the server through eclipse?
If so, can you please check the Windows->Preferences->Java->Installed JRE
Also, can you try to reinstall Java?
Hope this helps!
Thanks,
Deveshree
deveshree zawar, modified 7 Years ago.
RE: Problems with JDK/JRE when Starting LR 7.0 in Win 7
Junior Member Posts: 61 Join Date: 2/9/16 Recent Posts
Also, your JAVA_HOME is pointing to below as in the logs :
[main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jre1.8.0_91
Could you please check the same?
Thanks,
Deveshree
[main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jre1.8.0_91
Could you please check the same?
Thanks,
Deveshree
Arun Das, modified 7 Years ago.
RE: Problems with JDK/JRE when Starting LR 7.0 in Win 7 (Answer)
Regular Member Posts: 166 Join Date: 7/23/12 Recent Posts
Hi,
Change you JRE_HOME to "C:\Program Files\Java\jdk1.8.0_91\jre" and try
HTH
Arun
Change you JRE_HOME to "C:\Program Files\Java\jdk1.8.0_91\jre" and try
HTH
Arun
Attachments:
JUAN CARLOS MARTINEZ SIERR, modified 7 Years ago.
RE: Problems with JDK/JRE when Starting LR 7.0 in Win 7
New Member Posts: 4 Join Date: 11/22/16 Recent Posts
Thanks Arun Das I was able to run a Portlet with Gradle, I had not created the JRE_HOME environment variable, it is indispensable to do it
Arina YA, modified 7 Years ago.
RE: Problems with JDK/JRE when Starting LR 7.0 in Win 7
New Member Posts: 3 Join Date: 3/6/17 Recent PostsArun Das:
Hi,
Change you JRE_HOME to "C:\Program Files\Java\jdk1.8.0_91\jre" and try
HTH
Arun
Hello Arun Das,
Can you tell me how I can fix these errors with Linux?
Arun Das, modified 7 Years ago.