Java JDK 1.5 on FreeBSD 5.3?

Java JDK 1.5 on FreeBSD 5.3?

Post by Ryan » Fri, 27 May 2005 06:07:22


How can I install this? I have tried to install other versions but I
get binary compatability errors. I later read that only the 1.5 port
(in its very alpha stages) can be installed. How do I do this? I don't
want any Linux emulation, etc. Thanks.
 
 
 

Java JDK 1.5 on FreeBSD 5.3?

Post by Torfinn In » Fri, 27 May 2005 06:22:41


You _need_ the Linux emulation for the installation. simply deinstall it
afterwards.
Ok, it isn't correct. The correct way to say this is; you need a working
java machine to install java n FreeBSD.
--
Torfinn Ingolfsen,
Norway

 
 
 

Java JDK 1.5 on FreeBSD 5.3?

Post by Ryan » Fri, 27 May 2005 07:42:59

Okay, don't quite understand the last part. So I need to use the Linux
emulation to create the binaries and then I'm okay? Or is the Linux
emulation a VM so I would need to keep it?
 
 
 

Java JDK 1.5 on FreeBSD 5.3?

Post by Christophe » Fri, 27 May 2005 09:01:35

On 2005-05-25, Ryan K scribbled these
curious markings:

What last part? Please provide context when you reply (i.e. don't use
Google groups; use http://www.yqcomputer.com/ ).


Like most software development platforms (Mono, perl, even C), you need
Java to bootstrap Java. So once you have your native JDK installed, you
can remove the icky Linux one. Just yesterday / the day before I built
the 1.5 JDK using a native 1.4 one.

Best Regards,
Christopher Nehren
--
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated". -- Ken Thompson
If you ask the wrong people questions, you get "Joel on Software".
Unix is user friendly. However, it isn't idiot friendly.
 
 
 

Java JDK 1.5 on FreeBSD 5.3?

Post by Ryan » Sat, 28 May 2005 10:37:40

Alright, I installed the Java via Linux compatability and now have
Jakarta Tomcat 5.5.9 up and running. A little annoying that the status
reads the OS as Linux and not FreeBSD, but I'm glad I finally have a
working Java installation.
 
 
 

Java JDK 1.5 on FreeBSD 5.3?

Post by Ravno » Thu, 09 Jun 2005 00:50:57


If you don't want it to read Linux, you can use the Linux Java you
installed to install the FreeBSD one. Make sure you've got all the
necessary files in /usr/ports/distfiles and you shouldn't have any
problems with /usr/ports/java/jdk15. You can find instructions at
http://www.yqcomputer.com/ , but they apply to a jdk14.
Shouldn't be any significant changes, though.

Of course, you've got everything working, so messing around with things
might not be the best idea, but if you want a native jdk, then this is
the way to do it.