Solved

maven2 & eclipse

Posted on 2006-07-24
1
325 Views
Last Modified: 2008-02-01
Hi experts,

   I have maven2 and eclipse and they worked fine for most projects. Now I just download some source code from web, I tried to complie it as following and got the folllowing errors ... what should I change exactly?

   I have some other projects which work fine using the current setting, and I don't want to destroy the current projects. So what should I do to fix the following problem? Thanks.
-------------------------------------

C:\Project>mvn eclipse:eclipse

ERROR: JAVA_HOME is set to an invalid directory.
JAVA_HOME = C:\jdk1.5.0_06\bin\;C:\jre1.5.0_06;C:\jdk1.5.0_06;
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation
0
Comment
Question by:meow00
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 92

Accepted Solution

by:
objects earned 300 total points
ID: 17171796
JAVA_HOME should be a single directory, not a path

JAVA_HOME = C:\jdk1.5.0_06
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question