Linked by Thom Holwerda on Wed 5th Apr 2006 23:26 UTC
FreeBSD "The FreeBSD Foundation is pleased to announce the availability of the official Java Runtime Environment and Java Development Kit for FreeBSD. The Foundation negotiated a license with Sun Microsystems to distribute these FreeBSD binaries. The binaries are based on JDK 1.5 and work with the official FreeBSD 5.4 and FreeBSD 6.0 releases on the i386 platform."
Order by: Score:
GREAT!
by w00dst0ck on Wed 5th Apr 2006 23:44 UTC
w00dst0ck
Member since:
2006-02-01

This is great news! I'm not really fond of Java in the first place, but I'm always happy to see things improving for FreeBSD, even if its something like this.

FreeBSD is a great OS and it seems to be improving nicely as time goes by.

Love it.

Reply Score: 5

Good!
by naelurec on Wed 5th Apr 2006 23:49 UTC
naelurec
Member since:
2006-02-15

This should make installing Java much easier. I ran into issues with OOo Base where it requires Java to work with tables -- anyways, after too much work, I got Java 1.4 working (use of Linux compatibility and other documented tricks).. now with native binaries, that should be much easier. Hurray! :-)

Reply Score: 5

RE: Good!
by Beryllium on Thu 6th Apr 2006 18:27 UTC in reply to "Good!"
Beryllium Member since:
2005-07-08

I define "easy installation" by whether I have to go out of my way to install something. With java/jdk14, I had to go to the Sun website and download two or three tarballs, and then go to a 3rd-party site and download a patchset. With this new one, it sounds like I just have to go to one website.

But the main problem (in my mind) remains: I still have to load up my browser and go to a website to install the port. Not cool. If all I have to do is say "I accept", why can't that be put into the makefile? Other ports are interactive, why can't this one show me the agreement and allow me to accept/decline?

Reply Score: 1

RE[2]: Good!
by eMagius on Thu 6th Apr 2006 18:42 UTC in reply to "RE: Good!"
eMagius Member since:
2005-07-06

I believe this was discussed on the mailing list -- Sun requires it to be done this way.

Reply Score: 1

RE[2]: Good!
by robilad on Thu 6th Apr 2006 18:55 UTC in reply to "RE: Good!"
robilad Member since:
2006-01-02

Sun needs your explicit consent to their license to be able to sue you for violation of the EULA, if they have to.

cheers,
dalibor topic

Reply Score: 1

great news
by lazywally on Wed 5th Apr 2006 23:55 UTC
lazywally
Member since:
2005-07-06

This official release is easier to install and less buggy than the
existing jdk15 port, Lewis said.

:-)

Reply Score: 4

One step forward but two steps back?
by dr_gonzo on Thu 6th Apr 2006 00:15 UTC
dr_gonzo
Member since:
2005-07-06

While this is great news for FreeBSD, wouldn't it have been better in the long run for them to focus their efforts on the free java implementation?

Reply Score: 5

someone Member since:
2006-01-12

While this is great news for FreeBSD, wouldn't it have been better in the long run for them to focus their efforts on the free java implementation?

This is basically a short-term solution.

In this case, FreeBSD didn't have to reimplement all of the java libraries, which form the core of the Java platform. They just have to reimplement the JNI code. This allows them to push out a working, stable and possibly optimized java implementation in less time.

In its present status, free java is not enterprise-ready yet and FreeBSD is used extensively on servers, so a stable java implementation would be very useful.

Reply Score: 4

pcbsdusr Member since:
2006-01-23

I'd say one jump forward for freeBSD, two steps back for their efforts on the free java implementation.

I use PC-BSD (FreeBSD 6.0) and this sounds great!

*UPDATE*

Flash support and OSS are the only things i have trouble with although PBI's make it much easier. PC-BSD uses Linux's Flash and it works fine(after fiddling for a couple of minutes...).

Edited 2006-04-06 00:43

Reply Score: 2

bullethead Member since:
2005-07-10

It WILL be better in the long run. The race has begun awhile back, it's not time for the peak sprint yet ;)

I'm all for a free Java implementation. Give it time and it will happen. If not by just the community, by Sun themselves. We'll have to wait and see. Those who think I am crazy? I've seen stranger things happen in my lifetime. Linux Expos being full of people with suits and ties for one ;) I also saw IBM spraypaint "Peace, Love and Linux" penguins all over the streets of New York a few years ago.

Time will tell.

Reply Score: 2

Go BSD
by BluenoseJake on Thu 6th Apr 2006 00:29 UTC
BluenoseJake
Member since:
2005-08-11

This Rocks, the more "official" software released for BSD, the stronger it is

Reply Score: 4

Next up...
by sequethin on Thu 6th Apr 2006 00:35 UTC
sequethin
Member since:
2005-07-06

how about flash? man is flash a real PITA on FreeBSD ;)
But I am glad I won't have to click through a zillion license agreements now and download separate stuff just to get java working.

Reply Score: 2

RE: Next up...
by Beryllium on Thu 6th Apr 2006 06:08 UTC in reply to "Next up..."
Beryllium Member since:
2005-07-08

I second both of those points ;)

The state of native Flash is deplorable, even though it's not the FreeBSD project's fault. The java stuff is mildly annoying, but I'm glad to hear that things will be getting easier. ;)

In order to get a site working with Flash today, I had to remove my native Firefox build and install linux-firefox + linux-flashplugin7. Seems that the native version of Flash only supports up to 4.0 ... guess the specs have been advancing too rapidly for the project to keep up.

The Java stuff is somewhat less annoying than that, now that I've got the procedure downpat. But for a new user, it's both annoying and intimidating. I'm glad that they'll be able to fix it.

Reply Score: 1

Still x86 Only...
by Dr_J on Thu 6th Apr 2006 01:01 UTC
Dr_J
Member since:
2005-07-06

While it is certainly welcomed to have Java 1.5 binaries, these are still only available for x86. So the headline is somewhat misleading.

I have a couple of servers on FreeBSD 6.0 that use SPARC chips, and I can't run some server applications that need Tomcat (because of Java). Sure, I could use Solaris, but I know FreeBSD a LOT better.

Reply Score: 3

RE: Still x86 Only...
by rycamor on Thu 6th Apr 2006 02:56 UTC in reply to "Still x86 Only..."
rycamor Member since:
2005-07-18

It may take a few hours for your system to compile Java for your platform, but it's not that hard, and you only have to do it once.

Reply Score: 2

RE[2]: Still x86 Only...
by dr_gonzo on Thu 6th Apr 2006 10:33 UTC in reply to "RE: Still x86 Only..."
dr_gonzo Member since:
2005-07-06

The Java is a binary only release, meaning that it can't be recompiled for other platforms.

Reply Score: 1

Breath of Fresh Air
by dark child on Thu 6th Apr 2006 01:28 UTC
dark child
Member since:
2005-12-09

Thank God for that. It was really getting annoying having to compile java from source. The other annoyance was having to register with Sun before you could download all the sources. This is very good news indeed and its a welcome time saver. ;)

Reply Score: 2

FreeBSD getting even better!
by Angel--Fr@gzill@ on Thu 6th Apr 2006 02:00 UTC
Angel--Fr@gzill@
Member since:
2005-12-23

!!!

This is good news for the possibilities of a rock solid and excelent OS!
Java is not my cup of tea, but it is good to see FreeBSD getting even better!

Are they trying also "ClassPath" or they are not interested in it?


P.S.
"I only wonder how is that BSD guys are negotiating a license with Sun Microsystems to distribute the binaries are based on JDK 1.5, when eveybody knows that Sun is a company of "Sinners" that do not belive in God and JesusChrist, do not go to the church on sundays, and they are that mean in providing funds for BSD distros collaborators" ;)

!!!

Reply Score: 0

v RE: FreeBSD getting even better!
by Babi Asu on Thu 6th Apr 2006 03:51 UTC in reply to "FreeBSD getting even better!"
Angel--Fr@gzill@ Member since:
2005-12-23

!!!

--- "If you only know apt-get, synaptic, yum, yast, ./configure && make && make install, etc, please don't talk so big about FOSS"


HmmM... I don't get you... You must be too smart for me. Plese explain that more clearly...

What is what bother you, the fact that I find FreBSD an excelent OS, that I asked about 'Classpath', or that 'the guys from Sun don't go to church on sundays' as they should...???

!!!

Reply Score: 0

Awesome!
by travisbell on Thu 6th Apr 2006 02:39 UTC
travisbell
Member since:
2006-04-06

This reallt is great, being a huge FreeBSD fan I was always worried about compiling Java. Now I don't have to! Nice!

Reply Score: 1

Question on Java in FreeBSD
by kozo on Thu 6th Apr 2006 02:58 UTC
kozo
Member since:
2006-02-02

Are there no available JRE or JDK for FreeBSD before this one?

- This is good news btw, coz we are considering transferring our servers from Linux to FreeBSD and our Java codes in it.

Reply Score: 1

RE: Question on Java in FreeBSD
by TheMonoTone on Thu 6th Apr 2006 03:05 UTC in reply to "Question on Java in FreeBSD"
TheMonoTone Member since:
2006-01-01

There was a binary version that ran on top of the linux compatibility layer, there was also a native version but it was a pain due to the necessary downloading of source and licensing agreements and some other annoyances like you still needed the linux compat version. All in all, this saves time on installing java on freebsd.

Edited 2006-04-06 03:05

Reply Score: 1

RE: Question on Java in FreeBSD
by Carnevill on Thu 6th Apr 2006 03:07 UTC in reply to "Question on Java in FreeBSD"
Carnevill Member since:
2006-01-18

Yeah there were ways of installing Java on FreeBSD, but do to licensing it was a PITA. This will make it a who hell of alot simpler and less buggy. For example Jdk1.5 before this, was buggy and barely ran.

Reply Score: 1

Finally
by Chezz on Thu 6th Apr 2006 04:53 UTC
Chezz
Member since:
2005-07-11

That would really save me some time compiling, downloading sources manually, and agreeing to that license I've never read.

Reply Score: 2

I did not realize...
by Tuishimi on Thu 6th Apr 2006 05:50 UTC
Tuishimi
Member since:
2005-07-06

...that so many people have already moved to 1.5. We are still lagging behind I guess at our company. What are the performance issues of running software in Linux compat vs. native? Also has 1.5 improved the speed of the VM?

Reply Score: 1

RE: I did not realize...
by BryanFeeney on Thu 6th Apr 2006 11:23 UTC in reply to "I did not realize..."
BryanFeeney Member since:
2005-07-06

1.5 is a bit faster, but mainly on the desktop end of things, where Swing's speed and appearance saw serious work. 1.6 will continue this desktop emphasis, with dramatic Swing improvements and more speed improvements for the client side (though stack allocation has been deferred to 1.7).

The advantages of 1.5 are mainly for developers: the addition of Generics, Annotations, Enums and the new For-Loop made a lot of tasks a whole lot easier. Less trumpetted advantages are the new high-performance java.util.concurrency classes and StringBuilder class.

However no final implementation of Java EE 5 (J2EE 1.5 using the old versioning system) has been released yet. I think it's due around August. When it's released, companies will start migrating to version 5 in a big way, as it uses all Java 5's features to dramatically reduce the amount of code (and in particular, deployment descriptors) needed when writing enterprise applications. Until then, most companies are in a fairly conservative holding pattern.

Edited 2006-04-06 11:29

Reply Score: 4

RE[2]: I did not realize...
by Tuishimi on Thu 6th Apr 2006 15:28 UTC in reply to "RE: I did not realize..."
Tuishimi Member since:
2005-07-06

>The advantages of 1.5 are mainly for developers:
>the addition of Generics, Annotations, Enums

It's beginning to sound like Ada. ;)

I look forward to it, even tho' we (company) probably won't move to it for another year or so.

Reply Score: 1

Jedit
by siska on Thu 6th Apr 2006 06:08 UTC
siska
Member since:
2006-02-01

Few days ago I moved my old box away from freebsd6.0 because I need absolutely Jedit and with FreeBSD I was ``tired" to make a package of jedit/jdk14 on another faster box.

The only thing I missed from freebsd was sun-java.
I've always waited for this news.
So now with three floppies and a network I will be able to install a usefull desktop for my needs using *only* binaries.
Fantastic, fantastic.

Actually I think the port tree, or at least only security fixes are allowed, is frozen due to 6.1 release.

Also many applications, such as Jedit, depends on jdk14 and not jdk15, so I hope after 6.1 will be out it will be fixed the dependency.

Edited 2006-04-06 06:12

Reply Score: 1

amd64/em64t support is coming
by elvstone on Thu 6th Apr 2006 07:39 UTC
elvstone
Member since:
2005-09-08

"We are committed to continuing to enhance Java support on FreeBSD,
including certified releases for FreeBSD 5.5, FreeBSD 6.1, and
added support for the amd64/em64t hardware platform," Watson said.


Great! I'm using the jdk15 port on FreeBSD 6.1-PRERELEASE/amd64 now, but installing/upgrading is always a PITA. Great news.

Reply Score: 1

Flash 8.5
by ubiquity on Thu 6th Apr 2006 11:44 UTC
ubiquity
Member since:
2005-07-08

For proper Flash support, just wait for Flash 8.5. It should reach more platforms and it will bring some powerful functionalities.

Reply Score: 1

My cpu will be thankfull
by Pr3st00 on Thu 6th Apr 2006 12:25 UTC
Pr3st00
Member since:
2005-12-02

Great news! I remember spending hours compiling the java from source.... FreeBSD is my OS of choice, and it's great to know that things are improving.

Reply Score: 1

congrats!
by robilad on Thu 6th Apr 2006 18:57 UTC
robilad
Member since:
2006-01-02

congrats to gregg, deb & the team for making it through the test suite.

cheers,
dalibor topic

Reply Score: 1

RE[3]: Still x86 Only...
by molnarcs on Thu 6th Apr 2006 22:18 UTC
molnarcs
Member since:
2005-09-10

Wrong. It is possible to build a native Java on FreeBSD (all platforms) - it is just too involved: Go to sun site, download source, put it in /usr/ports/distfiles then go to eyesbeyond, download FreeBSD patchset (by now you had to click through 2 EULAs) and put it in distfiles again, then build it from source. Oh, and you need a linux binary java installed for "bootstrapping" the java build, forgot that.

This takes half an hour - I don't count the build process itself (which can be several hours depending on the speed of your machine) because you can just leave it, and you can do other things while it builds.

Reply Score: 1

RE[4]: Still x86 Only...
by Dr_J on Thu 6th Apr 2006 22:43 UTC in reply to "RE[3]: Still x86 Only..."
Dr_J Member since:
2005-07-06

> Wrong. It is possible to build a native Java on FreeBSD (all platforms)

No, YOU are wrong. There is no Linux compat layer for SPARC, so you can't do the Linux binary bootstrap on SPARC chips (even if there is the appropriate binary -- I've not checked). There is a version for the Alpha, but not SPARC.

I've done the x86 install many times, so I know the drill. It just does not work on SPARC. You can check the SPARC mailing list -- this is well known. You can also try the SPARC java port, which will inform you that it cannot work on this platform.

Reply Score: 1

RE: Question on Java in FreeBSD
by molnarcs on Thu 6th Apr 2006 22:22 UTC
molnarcs
Member since:
2005-09-10

It was, we just don't like manual downloads when accustomed to ports. You had to download the source manually, had to download a patchset manually, and before that, you had to install the linux binary jdk/jre. Then build it from source wich basically means typing make install in the ports directory.

This isn't/wasn't terribly difficult, I could write a short (few lines) howto for novice users, it is just not what we are accustomed to with ports. The build process itself could take several hours depending on the speed of you computer (but of course, you could do whatever you want while it was building in the background, so.)

Reply Score: 1

RE: Flash 8.5
by molnarcs on Thu 6th Apr 2006 22:43 UTC
molnarcs
Member since:
2005-09-10

Please, can you provide a link to this info? It would be wonderful!

Reply Score: 1

RE[5]: Still x86 Only...
by molnarcs on Thu 6th Apr 2006 23:02 UTC
molnarcs
Member since:
2005-09-10

Ah, I'm sorry then. I thought there is at least a version of java that can be used for bootstrapping the native build... Sorry for my mistake

Reply Score: 2

Java 1.5
by S.P. on Fri 7th Apr 2006 11:10 UTC
S.P.
Member since:
2006-02-13

Keep it up FreeBSD team! This was the long-awaited feature in FreeBSD. No need to look at linux for java applications anymore. FreeBSD rocks.

Reply Score: 1