Compiling OpenJDK6 w/ jdk7 on Fatdog64 version 721

Using applications, configuring, problems
Post Reply
Message
Author
s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

Compiling OpenJDK6 w/ jdk7 on Fatdog64 version 721

#1 Post by s243a »

I'm trying to compile OpenJDK6 using the slackbuild, on Fatdog64 (v721 upgraded from 710beta) using a version of jdk7.

The reason being is that I've found the latest Freenet running slow on java 8 and especially java 10. I wanted to try the last version that worked with java 6. Also note that java 6 is the version provided int he package manager by TazPup/Siltaz.

Anyway, I'm wondering if I need to add some jar containing java.lang.UNIXProcess to my java search path. Here is part of the error message:

Code: Select all

    [javac] /tmp/SBo/openjdk6/icedtea-build/openjdk-ecj/jdk/src/solaris/classes/java/lang/ProcessImpl.java:81: cannot find symbol
    [javac] symbol  : constructor UNIXProcess(byte[],byte[],int,byte[],int,byte[],boolean)
    [javac] location: class java.lang.UNIXProcess
    [javac]         return new UNIXProcess
    [javac]                ^
https://pastebin.com/PCcnRxug

Also note that for the build, I'm using apache-ant which I compiled from the slackbuild.

Edit:
I noticed that one can still download old versions (7 and older) of java from the Oracle site but to do so one needs to create an account.
https://www.oracle.com/technetwork/java ... 39210.html
https://www.oracle.com/technetwork/java ... 19409.html

That said, I still want to try to compile openJDK. :)

Post Reply