Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 2004 22:51:29 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Adam Smith <adam@internode.com.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: JDK14 for FreeBSD
Message-ID:  <20040510035129.GC65187@dan.emsphone.com>
In-Reply-To: <20040510034036.GB26370@internode.com.au>
References:  <20040510034036.GB26370@internode.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 10), Adam Smith said:
> I thought that last year FreeBSD finally got it's own version of JDK
> which stopped us having to rely on using the Linux version.

There is a native FreeBSD binary jdk 1.3.1, but jdk 1.4 requires an
existing 1.4 java install to build, so it can't be used.
 
> Why, when choosing to install jdk14 from the ports, am I asked to install
> the Linux version first?  I thought it was supposed to be stand alone.
> 
> ===>   jdk-1.4.2p6_4 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac - not found
> ===>    Verifying install for /usr/local/linux-sun-jdk1.4.2/bin/javac in /usr/ports/java/linux-sun-jdk14
> ===>  linux-sun-jdk-1.4.2.04 You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_04-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2sdk-1.4.2_04-oth-JPR&SiteId=JSC&TransactionId=noreg, place it in /usr/ports/distfiles and then run make again.
> *** Error code 1
> 
> Should I continue from here and download the Linux version?  What's it for
> when it comes to installing FreeBSD's java?

It's for the initial build.  Once the native binary is installed, you
can uninstall the linux one.

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040510035129.GC65187>