pavement

Talk:Java

From FreeBSDwiki
Revision as of 04:40, 28 December 2004 by Simon (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

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

Personal tools