On Tue, Nov 14, 2006 at 08:07:50AM -0500, Marc Ravensbergen wrote: > ...I am having a hard time getting java to work on openbsd. Java is a > deal-breaker for me as I use it all day every day for work. What I've > done is taken a tar of the linux version... <snip> > ...I really don't want to download the source for java and compile... I am > on dialup so every byte counts.... <snip> > ...If anybody can give me some tips or tricks I would really appreciate it.
Per FAQ 8.3, Java 1.5 or 1.4 must be built from source. An overnight download of the files should not be a huge problem, considering how much time, computing, memory, and storage resource is needed to build it. Kaffe is now used as a Java compiler to "bootstrap" the builds of Java 1.4 or 1.5. Luckily, the port for Java 1.3-linux still exists. This is a binary port, that used to be used to build Java 1.4/1.5. If 1.3 is sufficient for your needs, then this Linux emulation port may work better for you than trying to accomplish an emulation on your own. Obtain the ports tree, then issue: $ cd /usr/ports/devel/jdk/1.3-linux $ make install Eventually, the project should have native packages once Sun completes its migration to Java GPL. It was just announced, and if they meet their intended schedule, you may hope that binary packages will be on the mirrors in November 2007 for the 4.2-release.