Foros de discusión

JRE vs. JDK?

thumbnail
George Stafford, modificado hace 11 años.

JRE vs. JDK?

Junior Member Mensajes: 62 Fecha de incorporación: 1/10/12 Mensajes recientes
I recently downloaded Liferay Sync to try it out with my CE version. I was thinking it could help out some of my users going forward. The problem I'm encountering is that when I go to launch it it throws a message dialog of:

This application requires a Java Runtime Environment 1.6.0

Now when I run my local environment options I have


C:\XXXXX>Java -version
java version "1.6.0_35"
Java(TM) SE Runtime Environment (build 1.6.0_35-b10)
Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01, mixed mode)

C:\XXXXX>where java
C:\Program Files\Java\jdk1.6.0_35\jre\bin\java.exe


This seems to imply to me that I have the right version and that it is set as an environment variable. What other configuration could I be missing or some setting I need to do somewhere?

Thanks
George
Gail Hernandez, modificado hace 11 años.

RE: JRE vs. JDK?

Gail Hernandez, modificado hace 11 años.

RE: JRE vs. JDK?

thumbnail
George Stafford, modificado hace 11 años.

RE: JRE vs. JDK?

Junior Member Mensajes: 62 Fecha de incorporación: 1/10/12 Mensajes recientes
It did not install Java with the installation as I already have it installed on my machine.

I did not have a JAVA_HOME environment variable set, but I've now set it and restarted the machine and still the same error message.

This is on a Windows 7 64 bit machine.

Thanks!
thumbnail
George Stafford, modificado hace 11 años.

RE: JRE vs. JDK?

Junior Member Mensajes: 62 Fecha de incorporación: 1/10/12 Mensajes recientes
Any ideas? Suggestions?
Gail Hernandez, modificado hace 11 años.

RE: JRE vs. JDK?

thumbnail
Dennis Ju, modificado hace 11 años.

RE: JRE vs. JDK?

Regular Member Mensajes: 228 Fecha de incorporación: 30/09/10 Mensajes recientes
Are you able to run other Java desktop applications? Perhaps try a random one from http://java-apps.org/.
thumbnail
George Stafford, modificado hace 11 años.

RE: JRE vs. JDK?

Junior Member Mensajes: 62 Fecha de incorporación: 1/10/12 Mensajes recientes
Well my Spam Filter keeps eating the forum posts so I am having to remember to check. My apologies for that. So I ran it from the command line and had the same result, as seen here in the CommandSync.png file.

I then have screen caps of my running applications after I click on sync, first one being right after clicking when the error comes up and the second being after I click OK. Every time I do this I get sent to the Java web site to download Java again. Highly annoying emoticon

As for running Java apps on my system, I've run both CE and EE of Liferay on here, along with Eclipse and Oracle SQL Developer, Jasper Report Studio as well. I don't think it's related to that. It almost seems to be in the Launch4j application that there is a problem?
thumbnail
George Stafford, modificado hace 11 años.

RE: JRE vs. JDK?

Junior Member Mensajes: 62 Fecha de incorporación: 1/10/12 Mensajes recientes
Any progress?
Gail Hernandez, modificado hace 11 años.

RE: JRE vs. JDK?

thumbnail
George Stafford, modificado hace 11 años.

RE: JRE vs. JDK?

Junior Member Mensajes: 62 Fecha de incorporación: 1/10/12 Mensajes recientes
Just following up again emoticon
Gail Hernandez, modificado hace 11 años.

RE: JRE vs. JDK?

thumbnail
George Stafford, modificado hace 10 años.

RE: JRE vs. JDK? (Respuesta)

Junior Member Mensajes: 62 Fecha de incorporación: 1/10/12 Mensajes recientes
So the problem actually turned out to be a miconfiguration of my windows Java_Home. I was having trouble with another application and discovered I had an erroneous semicolon. After removing it Sync started right up without complaint.
Gail Hernandez, modificado hace 10 años.

RE: JRE vs. JDK?