Java


 
Thread Tools Search this Thread
Operating Systems BSD Java
# 1  
Old 05-26-2005
Java

I follow instructions to install jdk14 but I have this problem, even if the files j2sdk-1_4_2-src-scsl.zip is in distfiles it give this result:
Quote:
=> j2sdk-1_4_2-src-scsl.zip 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/po...-src-scsl.zip: 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.
Does someone knows another place where I can download the Latte Diablo JRE 1.3.1 binary package instead of http://www.freebsdfoundation.org/downloads/java.shtml

At this time I installed the blackdown port for java (linux-blackdown-jdk-1.4.2_2 Blackdown Java Development Kit 1.4 for Linux and linux-blackdown-jre-1.1.8_2 Blackdown Linux Java Runtime Environment 1.1.8)

but when I try a java -version
I obtain
Quote:
LODELSERVOO# java -version
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - no /proc/self/stat
Bad system call (core dumped)
Should I do something like set special environment variable to have my jre ready to run ?

thanks
# 2  
Old 05-26-2005
You can check on the FreeBSD homepage, http://freebsd.org for additional mirrors where you could connect to for downloding the JRE.

The other error you received looks to be because you installed a JRE for GNU/Linux on your FreeBSD machine. Remember that FreeBSD is not GNU/Linux. If you want to run the GNU/Linux JRE on your machine, then you will need to activate the Linux emulation on the FreeBSD kernel. And install the additional GNU/Linux libraries.
# 3  
Old 05-27-2005
There does not seem to be a pre built
binary yet for newer Java versions and
FreeBSD.

It would seem you need more than one file.

Try this web link

http://freebsdwiki.net/index.php/Java
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question