FreeBSD Application Experience (2). Install the J2EE Development Environment

zhaozj2021-02-16  72

FreeBSD runs x is still normal. Unlike Linux. If you don't move KDE, you will use KDE, so I use KDE, GNOME is also wrong.

Originally to install a XFCE, but the XFCE in Ports is not the latest version, and more than a dozen packs I have downloaded it yourself.

Hey. I almost forgot what I have to do. Doing a work.

I am going to install this, the environment is Eclipse 3.1 JDK1.4.2-P6 JBoss-3.2.5

JBoss-3.2.5 with Tomcat 5.x

If you want to develop J2EE with Eclipse, you still need a plugin, IBM has an article written very well. I will not reread.

Before installation, people have to determine that there is at least 1.2G or more space, NND, Sun's JDK source code compiled with such a big command:

CD / USR / PORTS / JAVA / JDK14 MAKE INSTALL

/ ** According to the prompt, in / etc / fstab joined a line LinProcs / compat / linux / proclocfs rw 0 0 * Of course, you have to first load Linux runtime! Then download the following file * BSD-JDK14-Patches-6 .tar.gz [http://www.eyesbeyond.com/freebsddom/java/jdk14.html] * J2SDK-1_4_2_05-Linux-i586.bin * J2SDK-1_4_2-BIN-SCSL.ZIP * J2SDK-1_4_2-src- SCSL.ZIP * (It is best to connect this JBoss-3.2.5-src.tar.bz2 also downloaded) download to / usr / ports / distfiles this directory. * // * A good suggestion, you are best used Internet Express or WGET will download these files first. This is more downloaded more than Make yourself.: D * /

After installation of JDK. Set a java_home, etc. I use CSH, if you use Bash, you can change the Profile, I am added in ~ / .cshrc, I added STENV JAVA_HOME /USR /LOCAL/JDK1.4.2setenv ClassPath $ JAVA_HOME / LIB

Then add /usr/local/jdk1.4.2/bin in the Path path

Then Source ~. / Cshrc can check that Java installation is successful.

: D I used to install a software every time, I have to log in, oh. It turned out that Source ~ / .cshrc can be configured...................................................................................................................................................................................................................................................................

Then CD / USR / PORTS / JAVA / Eclipsemake INSTALL

CD / USR / PORTS / JAVA / JBOSS3MAKE INSTALL

Make Make Clean installed

It can be running /usr/local/jboss3.2/bin/lun.sh, running JBoss.

If you want to install MySQL, you can enter the MYSQL ports to execute make install.

Anyway, this process is really long, slowly, etc.: D

Elipse can be executed to perform Eclipse for development, as for how to develop J2EE with Eclipse, please find it in Google: P

转载请注明原文地址:https://www.9cbs.com/read-14891.html

New Post(0)