Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JAVA-HOME not found in this environment?

843785Aug 26 2008 — edited Aug 26 2008
Hi, i'm from Argentina. ?'m installing (because i want to learn) Dspace. My machine have windows 2003 Server.
The steps of the installation are :
*Java SDK 1.5 (I've installed jdk 1.6_10)
* PostgreSQL 8.X for Windows
*apache ant
*tomcat
*MAVEN

I EXECUTE IN CMD:
mvn package
and the error is "JAVA-HOME not found in this environment . Please set de JAVA-HOME variable in your environment to match the location of your java installation."
I have this variables configured as System Variables:
JAVA-HOME C:\Archivos de programa\Java\jdk1.6.0_10\bin
PATH ;C:\Archivos de programa\Java\jdk1.6.0_10\bin (IS THE ONLY PATH THAT IS THERE)

Please help me , I don't know how to configure it, this is the last configuration i made.
Thanks you
Carla Bongiovani
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 23 2008
Added on Aug 26 2008
2 comments
904 views