Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

maven2 & eclipse

Posted on 2006-07-24
1
Medium Priority
?
328 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 1200 total points
ID: 17171796
JAVA_HOME should be a single directory, not a path

JAVA_HOME = C:\jdk1.5.0_06
0

Featured Post

Technology Partners: 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 contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

647 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