?
Solved

maven2 & eclipse

Posted on 2006-07-24
1
Medium Priority
?
326 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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…
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…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month13 days, 4 hours left to enroll

777 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