[jbosstools-dev] Some questions about migrating to Java 8 and Mars
Brian Fitzpatrick
bfitzpat at redhat.com
Fri Jul 24 13:29:22 EDT 2015
Definitely 32-bit
brianf at BRIANF-WORK /e/Users/bfitzpat/github/tools (master)
$ java -version
Picked up _JAVA_OPTIONS: -XX:-UseGCOverheadLimit -Xmx512m -Xmx1024m -XX:MaxMetas
paceSize=256m
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b15)
Java HotSpot(TM) Client VM (build 25.45-b02, mixed mode)
brianf at BRIANF-WORK /e/Users/bfitzpat/github/tools (master)
$ java -d64 -version
Error: This Java instance does not support a 64-bit JVM.
Please install the desired version.
_______________________________
Brian Fitzpatrick (aka "Fitz")
Senior Software Engineer, Tooling
JBoss by Red Hat
----- Original Message -----
From: "Max Rydahl Andersen" <manderse at redhat.com>
To: "Brian Fitzpatrick" <bfitzpat at redhat.com>
Cc: "Fred Bricon" <fbricon at redhat.com>, "jbosstools-dev jbosstools-dev" <jbosstools-dev at lists.jboss.org>
Sent: Friday, July 24, 2015 11:18:50 AM
Subject: Re: [jbosstools-dev] Some questions about migrating to Java 8 and Mars
On 24 Jul 2015, at 16:17, Brian Fitzpatrick wrote:
> Was not the maven version. Tried with 3.2.5 and that wasn't it.
what does java -version return ?
I bet you it says java 8 64.
And your java 7 says java 32.
And that worked on Luna because switchyard seem to not use the standard
target platform but instead have just this:
https://github.com/jboss-switchyard/tools/blob/master/eclipse/pom.xml#L194
x86
where it should be having also x86_64:
https://github.com/jbosstools/jbosstools-build/blob/master/parent/pom.xml#L166
so in short: I don't think SY ever was build and tested against 64 bit
windows before now ;)
solution: either make SY build with a proper target platform or use java
32 bit to build it.
long term I would prefer it uses proper target platform.
/max
>
> $ mvn -version
> Picked up _JAVA_OPTIONS: -XX:-UseGCOverheadLimit -Xmx512m
> -XX:MaxMetaspaceSize=256m
> Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1;
> 2014-12-14T10:29:23-07:00)
> Maven home: c:\apache-maven-3.2.5
> Java version: 1.8.0_45, vendor: Oracle Corporation
> Java home: c:\Program Files\Java\jdk1.8.0_45\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
>
> Attaching the build log in case it holds some clue.
>
> _______________________________
> Brian Fitzpatrick (aka "Fitz")
> Senior Software Engineer, Tooling
> JBoss by Red Hat
More information about the jbosstools-dev
mailing list