Proposed patches for nashorn build infrastructure
Jim Laskey (Oracle)
james.laskey at oracle.com
Wed Jan 23 10:46:36 PST 2013
I forgot the patches would be stripped from the e-mail
Find them at
http://cr.openjdk.java.net/~jlaskey/patches/nashorn~top.patch
http://cr.openjdk.java.net/~jlaskey/patches/nashorn~jdk.patch
http://cr.openjdk.java.net/~jlaskey/patches/nashorn~nashorn.patch
On 2013-01-23, at 2:05 PM, Jim Laskey (Oracle) <james.laskey at oracle.com> wrote:
> [For the hard core]
>
> I successfully built a jdk with nashorn bits included. More work to do, but I thought I'd post the preliminary patches here so others can play with/review them (and as a backup). I'll check these changes into the nashorn forest in a bit, once I find out what the ccc processes are. Pending is the licence for dynalink. Once we have that, we will include dynalink sources and remove the ant step.
>
> Steps:
>
> hg fclone http://hg.openjdk.java.net/nashorn/jdk8 nashorn~jdk8~infra
> cd nashorn~jdk8~infra
> hg fpull -u http://hg.openjdk.java.net/jdk8/jdk8
> patch -p1 < nashorn~top.patch
> (cd jdk l patch -p1 < nashorn~jdk.patch)
> (cd nashon l patch -p1 < nashorn~ nashon.patch)
> (cd nashorn/make ; ant dist)
> sh ./configure
> make all NEWBUILD=true
>
> You may have to stop and fix the encoding in jdk/THIRD_PARTY_README to be UTF-8. Then just restart the make.
>
> Once done, you should be able to;
>
> cd build/yourplatform/images/j2re-bundle/jre1.8.0.jre/Contents/Home
> setenv JAVA_HOME .
> bin/jjs
> jjs> print("hello");
> hello
>
>
>
>
>
>
>
>
More information about the nashorn-dev
mailing list