brianw13a
asked on
Install Java on FreeBSD 4.10 with 486 CPU
Hello all,
I need to install some version of java (runtime only) on FreeBSD 4.10 running with a 486 CPU. X Windows is not and can not be installed.
Any ideas?
Thanks in advance
I need to install some version of java (runtime only) on FreeBSD 4.10 running with a 486 CPU. X Windows is not and can not be installed.
Any ideas?
Thanks in advance
ASKER
Java is a little different from the rest of the ports and isn't very easy to get installed. I tried jdk14 and linux-sun-jdk14 without luck - and these have worked in the past.
As far as I'm aware, sysinstall won't install java which is probably due to the restrictive licensing.
Actually, I did manage to get it installed however I had to download precompiled binaries from the FreeBSD Foundation and simply extract the files. Doh!
Thanks
As far as I'm aware, sysinstall won't install java which is probably due to the restrictive licensing.
Actually, I did manage to get it installed however I had to download precompiled binaries from the FreeBSD Foundation and simply extract the files. Doh!
Thanks
Since java has security bugs more often than once in three years, you will be unable to complete your safe jdk build ever on that machine
X libraries are absolutely required by java, this is not an option.
Try Xorg libraries, Xorg vfb and diablo jdk 1.3
these will install without compile via /stand/sysinstall
hope this helps.
PII is very useful due to some architectural advantages introduced.
X libraries are absolutely required by java, this is not an option.
Try Xorg libraries, Xorg vfb and diablo jdk 1.3
these will install without compile via /stand/sysinstall
hope this helps.
PII is very useful due to some architectural advantages introduced.
ASKER
I've looked all over sysinstall and cannot find the diablo jdk 1.3 install. Could you tell me where to look?
I have to stay with either a 486 or 586 as this is a low cost embedded system. Perhaps later when the cost drops and more is available I can switch.
Thanks
I have to stay with either a 486 or 586 as this is a low cost embedded system. Perhaps later when the cost drops and more is available I can switch.
Thanks
it is in /usr/ports/java/diablo-jdk -....
it requires some other packages, which is best installed from sysinstall instead of building.
it requires some other packages, which is best installed from sysinstall instead of building.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
since X windows is not installed (or installable), I would suggest you download the files to another computer and either scp over to your 4.10 box or share them via NFS/Samba (or ocpy them over on a CD, which is what I did)
Not installable ????
original poster said " X Windows is not and can not be installed."
===> avalon-logkit
===> Installing for avalon-logkit-1.2_1
===> avalon-logkit-1.2_1 depends on file: /usr/local/jdk1.4.2/bin/ja va - not found
===> Verifying install for /usr/local/jdk1.4.2/bin/ja va in /usr/ports/java/jdk14
===> jdk-1.4.2p7_1 :
The source distribution exists on your system, but due to
licensing restrictions you still need to download the
patchset, bsd-jdk14-patches-7.tar.gz , from
http://www.eyesbeyond.com/freebsddom/java/jdk14.html.
Please place the patchset in /usr/ports/distfiles.
.*** Error code 1
Stop in /usr/ports/java/jdk14.
*** Error code 1
Stop in /usr/ports/java/avalon-log kit.
*** Error code 1
Stop in /usr/ports/java.
Path: /usr/ports/java (root@www) 102>
i did it i don't get what to do.. i hate patches
===> Installing for avalon-logkit-1.2_1
===> avalon-logkit-1.2_1 depends on file: /usr/local/jdk1.4.2/bin/ja
===> Verifying install for /usr/local/jdk1.4.2/bin/ja
===> jdk-1.4.2p7_1 :
The source distribution exists on your system, but due to
licensing restrictions you still need to download the
patchset, bsd-jdk14-patches-7.tar.gz
http://www.eyesbeyond.com/freebsddom/java/jdk14.html.
Please place the patchset in /usr/ports/distfiles.
.*** Error code 1
Stop in /usr/ports/java/jdk14.
*** Error code 1
Stop in /usr/ports/java/avalon-log
*** Error code 1
Stop in /usr/ports/java.
Path: /usr/ports/java (root@www) 102>
i did it i don't get what to do.. i hate patches
download all those patches and place them in /usr/ports/distfiles (you don't need to uncompress them). The error message is telling you to do that :
"you still need to download the
patchset, bsd-jdk14-patches-7.tar.gz , from
http://www.eyesbeyond.com/freebsddom/java/jdk14.html.
Please place the patchset in /usr/ports/distfiles."
"you still need to download the
patchset, bsd-jdk14-patches-7.tar.gz
http://www.eyesbeyond.com/freebsddom/java/jdk14.html.
Please place the patchset in /usr/ports/distfiles."
(root@www) 114> ls bs*
bsd-jdk14-patches-7.tar
Path: /usr/ports/distfiles (root@www) 115>
oh so i wasn't supposed to unzip it?
bsd-jdk14-patches-7.tar
Path: /usr/ports/distfiles (root@www) 115>
oh so i wasn't supposed to unzip it?
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bsd-jdk14-patches-7.tar.gz: File unavailable (e.g., file not found, no access)
*@&#*&@# it they messt up the directory tree
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bsd-jdk14-patches-7.tar.gz: File unavailable (e.g., file not found, no access)
*@&#*&@# it they messt up the directory tree
Makefile distinfo files pkg-descr
Path: /usr/ports/java (root@www) 120> ls ../distfiles/bs*
../distfiles/bsd-jdk14-pat ches-7.tar .gz
Path: /usr/ports/java (root@www) 121>
btw i rezipped it myself
Path: /usr/ports/java (root@www) 120> ls ../distfiles/bs*
../distfiles/bsd-jdk14-pat
Path: /usr/ports/java (root@www) 121>
btw i rezipped it myself
=> bsd-jdk14-patches-7.tar.gz
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bsd-jdk14-patches-7.tar.gz: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1
Stop in /usr/ports/java/jdk14.
*** Error code 1
Stop in /usr/ports/java/jdk14.
*** Error code 1
Stop in /usr/ports/java/avalon-log
*** Error code 1
Stop in /usr/ports/java.
Path: /usr/ports/java (root@www) 127> ls ../distfiles/bsd-jdk14-pat
../distfiles/bsd-jdk14-pat
Path: /usr/ports/java (root@www) 128>
*@&#*@&# the make is off its rocker the file is there
=> bsd-jdk14-patches-7.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bsd-jdk14-patches-7.tar.gz: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1
Stop in /usr/ports/java/jdk14.
*** Error code 1
Stop in /usr/ports/java/jdk14.
*** Error code 1
Stop in /usr/ports/java/avalon-log kit.
*** Error code 1
Stop in /usr/ports/java.
Path: /usr/ports/java (root@www) 131> ll ../distfiles/bsd-jdk14-pat ches-7.tar .gz
-rwxr-xr-x 1 kayve wheel 1137809 Jul 12 12:51 ../distfiles/bsd-jdk14-pat ches-7.tar .gz
Path: /usr/ports/java (root@www) 132>
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bsd-jdk14-patches-7.tar.gz: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1
Stop in /usr/ports/java/jdk14.
*** Error code 1
Stop in /usr/ports/java/jdk14.
*** Error code 1
Stop in /usr/ports/java/avalon-log
*** Error code 1
Stop in /usr/ports/java.
Path: /usr/ports/java (root@www) 131> ll ../distfiles/bsd-jdk14-pat
-rwxr-xr-x 1 kayve wheel 1137809 Jul 12 12:51 ../distfiles/bsd-jdk14-pat
Path: /usr/ports/java (root@www) 132>
Hi Brian..
just try exploring the folders jdk12,jdk13,jdk14 and jdk12-doc,jdk13-doc and jdk14-doc
under /usr/ports/java/
and if you have a direct internet connection.. then a simple command 'make all install clean' in a corresponding directory will download all the required files and patches, and compiles and installs the right things for you..
or otherwise.. you have to check the file ..'distinfo' from an apropriate folder and download all the mentioned files there and put them under /usr/ports/distfiles/ .. and then a 'make all install clean' will do the job ..!!
also.. try using '/stand/sysinstall', which is a more recommended way for doing this sort of work..!!
lets us know.. if u find any diffculty ..
best of luck ..!!
RaviGoru