Graal failure on VM initialization
Gilles Duboscq
duboscq at ssw.jku.at
Wed Apr 30 07:21:12 UTC 2014
Hello Chen,
Truffle requires JDK7 for building only.
If your JAVA_HOME points to a JDK8 and EXTRA_JAVA_HOMES to a JDK7, it
should be fine.
This is needed because we want to keep the possibility for developers using
the Truffle API to use Java 7.
-Gilles
On 30 Apr 2014 03:51, "Chen Li" <meloli87 at gmail.com> wrote:
> Hi Tom,
>
> Thanks for the quick response.
>
> Change to jdk 8 dose solve the problem. But it seems like truffle still
> need jdk 7 support? Would that be migrated to jdk 8 soon?
>
> thanks,
> chen
>
>
> On Apr 29, 2014, at 6:24 PM, Tom Rodriguez <tom.rodriguez at oracle.com>
> wrote:
>
> > We recently switch to only supporting jdk 8 so you’ll need to update
> your build jdk. We should probably complain about this somewhere in the
> build process instead of just dying like this.
> >
> > tom
> >
> > On Apr 29, 2014, at 6:30 PM, Chen Li <meloli87 at gmail.com> wrote:
> >
> >> Hi,
> >>
> >> I have recently tried to build and run graal vm, but after build with
> --vm=graal option, I can not initialize the VM due to the following error:
> >>
> >> Error occurred during initialization of VM
> >> Unable to load native library:
> /home/chenli/work/graal_new/jdk1.7.0_45/product/jre/lib/amd64/libjava.so:
> symbol JVM_SetProtectionDomain, version SUNWprivate_1.1 not defined in file
> libjvm.so with link time reference
> >>
> >>
> >> I tried with jdk7_55 and jdk7_60 early_access, but either worked.
> >>
> >> Does anyone has a solution to this?
> >>
> >> thanks,
> >> chen
> >>
> >>
> >
>
>
More information about the graal-dev
mailing list