Getting PrintAssembly to work ...
Dennis Byrne
dennis at dbyrne.net
Wed Nov 11 17:33:31 UTC 2009
Thanks for your reply Volker. Got it.
byrne at wud-nbyrne01:~$ java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-1ubuntu3)
OpenJDK Client VM (build 14.0-b16, mixed mode, sharing)
I am now trying to build the plugin with the following error. Two
questions, the README reads "BINTUILS" rather than "BINUTILS". I get
the following error regardless of which flag I use. Also, what should
I be telling make in order to keep it from looking for
/java/re/j2se/1.6.0/latest/binaries/linux-i586/bin/java (which does
not exist) ?
dbyrne at wud-nbyrne01:~/print_assembly/hotspot-2f1ec89b9995/make$ make
BINTUILS=/home/dbyrne/print_assembly/binutils-2.19.1
cd: 1: can't cd to /java/re/j2se/1.6.0/latest/binaries/linux-i586
cd /home/dbyrne/print_assembly/hotspot-2f1ec89b9995/make; \
make VM_TARGET=product generic_build2
cd: 1: can't cd to /java/re/j2se/1.6.0/latest/binaries/linux-i586
make[1]: Entering directory
`/home/dbyrne/print_assembly/hotspot-2f1ec89b9995/make'
mkdir -p /home/dbyrne/print_assembly/hotspot-2f1ec89b9995/build/linux
cd /home/dbyrne/print_assembly/hotspot-2f1ec89b9995/build/linux; \
make -f /home/dbyrne/print_assembly/hotspot-2f1ec89b9995/make/linux/Makefile
\
JAVA_HOME=/home/dbyrne/print_assembly/hotspot-2f1ec89b9995/make
OUTPUTDIR=/home/dbyrne/print_assembly/hotspot-2f1ec89b9995/build/linux
GAMMADIR=/home/dbyrne/print_assembly/hotspot-2f1ec89b9995
MAKE_VERBOSE=y HOTSPOT_RELEASE_VERSION=17.0-b05
JRE_RELEASE_VERSION="1.7.0" HOTSPOT_BUILD_VERSION=internal product
cd: 1: can't cd to /java/re/j2se/1.6.0/latest/binaries/linux-i586
make[2]: Entering directory
`/home/dbyrne/print_assembly/hotspot-2f1ec89b9995/build/linux'
make -f /home/dbyrne/print_assembly/hotspot-2f1ec89b9995/make/linux/Makefile
checks
cd: 1: can't cd to /java/re/j2se/1.6.0/latest/binaries/linux-i586
make[3]: Entering directory
`/home/dbyrne/print_assembly/hotspot-2f1ec89b9995/build/linux'
/java/re/j2se/1.6.0/latest/binaries/linux-i586/bin/javap
javax.xml.transform.TransformerFactory > /dev/null 2>&1; \
if [ $? -ne 0 ]; then \
/java/re/j2se/1.6.0/latest/binaries/linux-i586/bin/java -version; \
echo "*** An XSLT processor (J2SE 1.4.x or newer) is required" \
"to bootstrap this build" 1>&2; \
exit 1; \
fi
/bin/sh: /java/re/j2se/1.6.0/latest/binaries/linux-i586/bin/java: not found
*** An XSLT processor (J2SE 1.4.x or newer) is required to bootstrap this build
make[3]: *** [check_j2se_version] Error 1
make[3]: Leaving directory
`/home/dbyrne/print_assembly/hotspot-2f1ec89b9995/build/linux'
make[2]: *** [linux_i486_compiler2/debug] Error 2
make[2]: Leaving directory
`/home/dbyrne/print_assembly/hotspot-2f1ec89b9995/build/linux'
make[1]: *** [generic_build2] Error 2
make[1]: Leaving directory
`/home/dbyrne/print_assembly/hotspot-2f1ec89b9995/make'
make: *** [product] Error 2
Dennis
On Tue, Nov 10, 2009 at 3:09 AM, Volker Simonis
<volker.simonis at gmail.com> wrote:
> The documentation is somewhat outdated. It should read "..require at
> least HotSpot 14". So JDK 6u14 and higher or the latest OpenJDK6
> release should be ok.
>
> Regards,
> Volker
>
> On 11/10/09, Dennis Byrne <dennis at dbyrne.net> wrote:
>> http://wikis.sun.com/display/HotSpotInternals/PrintAssembly reads "The
>> following HotSpot options ... require OpenJDK 7". If I cannot use
>> OpenJDK 6, what are my options for obtaining 7? The install
>> instructions all appear to be for version 6
>> http://openjdk.java.net/install/ . Thanks in advance,
>>
>> --
>>
>> Dennis Byrne
>>
>
--
Dennis Byrne
More information about the discuss
mailing list