Gentoo Archives: gentoo-java

From: Wiktor Wandachowicz <siryes@×××××.com>
To: gentoo-java@l.g.o
Cc: David B <daveozz@×××××.com>
Subject: Re: [gentoo-java] [Fwd: Advice on Gentoo support for java]
Date: Sun, 10 Sep 2006 21:00:10
Message-Id: 254054bc0609101359m2312d53i231f0b3deb3fb848@mail.gmail.com
In Reply to: [gentoo-java] [Fwd: Advice on Gentoo support for java] by Joshua Nichols
1 > I want to use Java 5.0 JDK and netbeans 5.5 and java EE5. and
2 > also the sun glassfish open source server on Gentoo if it is possible
3
4 My experience is that they work perfectly, with one minor hiccup: there
5 are currently no ebuilds for all things you've mentioned. However, after
6 downloading them and installing manually all things work very well. I've
7 been running on such setup for over a year already (with different beta
8 versions and daily builds of Java 5/Java 6/NetBeans/GlassFish) and I'm
9 very happy with it.
10
11 > 1- Are these now available on the Gentoo disks or are they supported
12 > by Gentoo ?
13
14 sun-jre-1.5.0 and sun-jdk-1.5.0 are supported very well. New NetBeans
15 (note that it is still in beta!) and GlassFish are not yet fully
16 supported, as far as I can tell. But eventually they will be ;-)
17
18 > 2- where are the precise instructions to download the above mentioned
19 > packages (if they not installed already on Gentoo)? Is it a simple
20 > process?
21
22 For JDK 5.0 it's as simple as following the new Java guide and unmasking
23 some packages. The rest is done via emerge. See:
24 * http://www.gentoo.org/doc/en/java.xml
25
26 For NetBeans 5.5 you need to download a Linux installer directly from
27 www.netbeans.org, make it executable and run it as root. By default it
28 installs NetBeans IDE in /opt and proposes to install Sun's application
29 server 9.0 (aka GlassFish) in /opt as well. This procedure is very
30 similar to the Windows installation, and only the paths are different.
31
32 It's also possible to install GlassFish separately. Instructions can
33 be found on the GlassFish site:
34 * https://glassfish.dev.java.net/public/downloadsindex.html
35 in section "Instructions to unbundle and configure GlassFish".
36
37 > 3- Can I run javaEE5 built applications on Gentoo with only the jdk
38 > 5.0 kit installed or do also need to install javaEE5?
39
40 Java Enterprise Edition is just a standard for building solutions
41 (application servers, libraries, etc.) which provide services compliant
42 with Java EE standard. For what is worth, it's enough to install some
43 application server (newest GlassFish or JBoss for example) to be able
44 to perfectly run Java EE 5 applications.
45
46 > Sorry for the length of questions but I have tried hard to get a good
47 > linux distro with good java support and I am hoping Gentoo is the one
48 > for me.
49
50 I stayed with Gentoo exactly for its first class Java support. Even some
51 good folks from Sun are involved in gentoo-java mailing list and have
52 interest in helping to provide one of the best Java support for Gentoo.
53 I sincerely hope that you will like it. Right now it requires a bit of
54 manual work to get a full-blown developer environment with the latest
55 and the greatest Java packages. But IMHO it's still far less work than
56 with any other Linux distributions out there.
57
58 See also:
59 * http://news.gmane.org/gmane.linux.gentoo.java
60 * http://article.gmane.org/gmane.linux.gentoo.java/1231
61 * https://jdos.dev.java.net/
62
63 Hope this helps. Cheers!
64 Wiktor Wandachowicz
65
66 --
67 Registered Linux user #390131 (http://counter.li.org)
68 --
69 gentoo-java@g.o mailing list