You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/12/18 14:42:19 UTC
[jira] Closed: (MNG-2595) mvn support for GCJ 4.1 and java-1.4
compat
[ http://jira.codehaus.org/browse/MNG-2595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed MNG-2595.
-----------------------------
Assignee: Brett Porter
Resolution: Won't Fix
Fix Version/s: (was: Reviewed Pending Version Assignment)
GCJ isn't supported, and we're moving to a JDK 5 requirement
> mvn support for GCJ 4.1 and java-1.4 compat
> -------------------------------------------
>
> Key: MNG-2595
> URL: http://jira.codehaus.org/browse/MNG-2595
> Project: Maven 2
> Issue Type: New Feature
> Components: Bootstrap & Build
> Affects Versions: 2.0.4
> Environment: Fedora Core 5, libgcj 4.1.1, java-1.4.2-gcj-compat
> Reporter: Ricardo Gladwell
> Assignee: Brett Porter
> Priority: Minor
>
> The mvn Unix shell script does not properly detect the location of local JAVA_HOME on the above GCJ system. Error is as follows:
> $mvn -version
> Error: JAVA_HOME is not defined correctly.
> We cannot execute java
> This can be fixed by manually setting $JAVA_HOME=/usr/lib/jvm/java-1.4.2/ (compat home of gcj) but M2 still refuses to run with the following error:
> $ mvn -version
> Sorry, but JDK 1.4 or above is required to execute Maven
> You appear to be using Java version: 1.4.2
> I'm not even sure the mvn can run on GCJ-compat systems yet, but if so it would be nice if the mvn shell script also supported such systems.
> The above can be worked around by downloading and installing the Linux version of the JAVA 5 SDK.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira