OpenBSD Journal

Native JDK

Contributed by jose on from the bytecode-and-runtime dept.

jamesw writes: "from: http://marc.theaimsgroup.com/?l=openbsd-ports-cvs&m=107541410724107&w=2


CVSROOT:	/cvs
Module name:	ports
Changes by:	pvalchev@cvs.openbsd.org	2004/01/29 15:02:20

Log message:
    Import of NATIVE jdk-1.3.1
    
    The Java 2 SDK software includes tools useful for developing and
    testing programs written in the Java programming language and
    running on the Java platform.
    
    i386-only for now.
    Requires manual registration/fetch of distfile from Sun due to
    their restrictions.


(Comments are closed)


Comments
  1. By Noryungi () n o r y u n g i @ y a h o o . c o m on mailto:n o r y u n g i @ y a h o o . c o m

    Comments
    1. By Anonymous Coward () on

      I strongly disagree with your point of view....

      Comments
      1. By Noryungi () n o r y u n g i @ y a h o o . c o m on mailto:n o r y u n g i @ y a h o o . c o m


        Sorry! :-)

        I meant to say that, between AMD64 support, a native JDK and booting above 8GB, OpenBSD 3.5 was going to be the best OpenBSD version ever...

        Comments
        1. By janus () janus X errornet X de on http://janus.errornet.de

          OpenBSD is always the best version (-current), its `only' getting better each commit :)
          I would say that the features of 3.5 will reach many new boxes.
          Native java is really nice because it avoids weird os^H^Hsoftware installations ;)

  2. By Anonymous Coward () on

    I know ports track 'current', but they don't always strictly depend on some feature of 'current'. So does anyone know if it expected that this port *should* work on a machine running OBSD 3.4? Anyone try it yet?

    Comments
    1. By Kurt Miller () truk@optonline.net on mailto:truk@optonline.net

      Yes, but you need some patches for bsd.port.mk and the bootstrap jdk.

      If anyone wants to run this on 3.4 send me an email with the subject line '3.4 jdk request'. I have an autoresponder rule that will send you the port for 3.4 with instructions and patches.

      -Kurt

      Comments
  3. By Anonymous Coward () on

    Does this mean that we'll be able to run j2se without hassle?

    Comments
    1. By Kurt Miller () on

      The jdk is based on the same code base that the FreeBSD version is based on. The FreeBSD version has passed all of sun's Technology Compatibility Kit tests (Classic VM green-threads), so hopefully this version works just as well too.

      Give it a try and find out. ;-)

      -Kurt

  4. By Anonymous Coward () on

    How hard would be to take this 1.3.x native code and make the 1.4.x port work? Is it possible to use the native code to develop a 1.4.x native as well?

    Comments
    1. By Kurt Miller () on

      Some hurtles need to be jumped first. The 1.3 native port is currently for the Classic VM, green threads only. 1.4 does not have a Classic VM so more work is needed. Native threads and HotSpot are required for 1.4.

      There is also a problem with not having a working bootstrap jdk yet. I'm pretty sure that work will be needed in the kernel for linux emulution of threads for this to happen.

      -Kurt

  5. By Anonymous Coward () on

    Kurt: I've been watching this work progress on the ports@ list for a while, and this was a herculean effort. Congratulations on a job well done, and thank you for the effort you have put in.

  6. By Peter Hessler () spambox@theapt.org on http://www.theapt.org

    This doesn't allow for native java on !i386, which makes me sad. :(

    But it is a step closer, and I applaud the people who got it to work.

  7. By Anonymous Coward () on

    ooo nifty, what's the status of the flash plugin? (yes i don't like flash either but try to convince the world to stop using it)

    Comments
    1. By bob () on

      like the dl site form toshiba... (www.toshiba-tro.de
      (you need flash for dl drivers... :-(
      best bob

    2. By Anthony () on

      Any OS that I can't use to watch Homestar Runner is not a desktop replacement =P

  8. By Michael () on http://e.molioner.dk/

    The mozilla plugin also seems to work, though my firebird-0.7-xft crashed (SIGSEGV) when I tried using my webbank. Other applets seem to run but I haven't tested a extensively.

  9. By Anonymous Coward () on

    Christ ... can sun make it any harder to find the source code distribution. After an hour of poking though links I finally just gave up. Ridiculous.

    Comments
    1. By Kurt Miller () on

      Go to the link that's included in the makefile:

      native source

      Then read the crud about licensing and click "Download". Should be obvious from there.

      Someone else asked about downloading the 1.3-linux binary for 3.4. It is now located here:

      linux jdk

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]