Hey thanks a lot for the reply.
I tried it again this today.... and guess what? It worked!
Computers are just plain strange sometimes....
Cheers
Andy
----- Original Message -----
From: "Helck, Christopher" <[EMAIL PROTECTED]>
To: "Maven Users List" <users@maven.apache.org>
Sent: Thursday, August 10, 2006 10:24 PM
Subject: RE: Using Maven 1.0.2 with JDK 1.5
Maven 1.0.2 definitely works with jdk1.5.0_07 on Windows XP. I can't
imagine that 1.5.0_8 would cause the problem you describe. I would turn
on tracing in the maven.bat script.
-Christopher Helck
-----Original Message-----
From: Andrew Birchall [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 4:35 PM
To: users@maven.apache.org
Subject: Using Maven 1.0.2 with JDK 1.5
Hello,
I'm having trouble running Maven 1.0.2 with the latest version of Java
(1.5.0_08) on Windows XP
Maven resides in C:\maven-1.0.2 and Java is in C:\java\jdk1.5.0_08 I
have set MAVEN_HOME to maven-1.0.2 and JAVA_HOME to JDK 1.5.0_08 And I
have set maven-1.0.2\bin in my PATH However when I run "maven -version"
it just prints out the usage instructions for Java (???!!!)
Is maven 1.x supposed to work with the latest version of Java?
I can't find any documentation on this on the Maven website I have no
problems with Maven 2. However I need to used Maven 1 for an old
project.
Thanks for any help anyone can give
Andy Birchall
See below for what is displayed when I run maven -version
C:\>maven -version
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version
search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g.
-agentlib:hprof
see also, -agentlib:jdwp=help and
-agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see
java.lang.instrument
C:\>
___________________________________________________________
The all-new Yahoo! Mail goes wherever you go - free your email address
from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thank you for being part of it.
The information contained in this e-mail is confidential. This e-mail is
intended only for the stated addressee. If you are not an addressee, you
must not disclose, copy, circulate or in any other way use or rely on the
information contained in this e-mail. if you have received this e-mail in
error, please inform us immediately and delete it and all copies from your
system.
EBS Dealing Resources International Limited. Registered address: 10
Paternoster Square, London EC4M 7DY, United Kingdom. Registered number
2669861.
EBS Dealing Resources, Inc, registered in Delaware. Address: 535 Madison
Avenue, 24th Floor, New York, NY 10022, USA, and One upper Pond road,
Building F - Floor 3, Parsippany, NJ 07054, USA.
EBS Dealing Resources Japan Limited, a Japanese Corporation. Address: Asteer
Kayabacho Bldg, 6th Floor, 1-6-1, Shinkawa, Chuo-Ku, Tokyo 104-0033, Japan.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]