pavement

Talk:Java

From FreeBSDwiki
Revision as of 09:53, 28 December 2004 by Dave (Talk | contribs)
Jump to: navigation, search

This didn't help!!

I'm just trying to have simple java application run in mozilla or linux-mozilla (whichever works first) but the about plugins refuses to list java for some reason despite the symlink. I don't need the whole SDK.

I've installed linux-mozilla and the jre and everything else. Flash works fine by the way, I don't see which step Java requires that Flash didn't...

I've been at this for weeks, but now I've got internet to help me finally! Except another 2 days was fruitless.

If I get that last step to work I promise a full walkthru in the wiki. But for now, I'm 100% stumped.

For your info, I'm a bottom feeder rookie on FreeBSD (i.e. a traumatized Windoze regugee). Detailed explanations are welcome.

relax

Contents

to make a long story much shorter

You need a working java compiler to compile java on a freebsd system. so the work around is to install the linux jdk, add the files that building java requires (in /usr/ports/distfiles -- all those files that the webpage says to install) and then go into /usr/ports/java/jre (or jdk14 or whatever) and build it. It takes a) a long time and b) a lot of diskspace. I understand that if you install the linux browser (instead of compiling mozilla/firefox from ports or using freebsd pkg) you can also use the linux java jre with it.

Dave

=

Can you say that in terms of what the exact things to type are?

What is linux-mozilla and its difference from mozilla? Is that what I need?

In any case the "enable" step seems not to work at all. The plugin listing won't show java.

relax

also

see this link form the newbies mailing list: http://www.freebsd.org/cgi/getmsg.cgi?fetch=107129+112090+/usr/local/www/db/text/2004/freebsd-newbies/20041107.freebsd-newbies

you may fare better by installing one of the diablo binaries: http://www.freebsdfoundation.org/downloads/java.shtml


Diablo:

"These binaries are not intended for use with FreeBSD 5.x, due to a binary compatibility issue we are working with the FreeBSD release engineering team to resolve."

so I can't use that. I'll check the newbie thing. Thanks!

relax

in which case,

it would seem (from what i've read) that your only option is to either use the linux mozilla and linux java on your freebsd5 system, or install the linux jdk so that you can make a freebsd jdk so that you can THEN compile the JRE native for your system. (althogh once you've got the JDK, you can stop there, obviously -- you'd only need to build the jre if you wanted to delete the jdk afterwards.)

Personal tools