OpenBSD Java Development Environment

My OpenBSD Java development environment set up notes.

Installing Eclipse 3.1

  • Install the eclipse port. Note that this may take a very long time (hours).
$ cd /usr/ports/devel/eclipse
$ make
$ make install
$ make clean
$ make clean=depends
  • Test the install. Should be able to launch eclipse.
$ eclipse &

Installing MyEclipse 4.1.1

  • Create MyEclipse directory.
$ mkdir /usr/local/MyEclipse-4.1.1
  • Download the manual install file from MyEclipse and place it in the /usr/local/MyEclipse-4.1.1/ directory.
  • Unzip the manual install file.
$ cd /usr/local/MyEclipse-4.1.1/
$ unzip ME-4.1.1GA_E3.1ManualInstall.zip
  • Follow the instructions in /usr/local/MyEclipse-4.1.1/manual-install.html.
  • Test the install. Should be able to launch eclipse and see the new MyEclipse menu and perspective.
$ eclipse &

Installing JBoss Application Server 3.2.8.SP1

  • Create JBoss directory.
$ mkdir /usr/local/JBoss-3.2.8.SP1
  • Download jboss-3.2.8.SP1.tar.gz from JBoss and place it in the /usr/local/JBoss-3.2.8.SP1 directory.
  • Unzip the install file.
$ cd /usr/local/JBoss-3.2.8.SP1
$ tar -zxvf jboss-3.2.8.SP1.tar.gz
  • Test the install. Should be able to launch eclipse and start JBoss.
$ eclipse &
  • In eclipse, set Windows -> Preferences -> MyEclipse -> Application Servers -> JBoss 3 -> JBoss Home Directory to /usr/local/JBoss-3.2.8.SP1/jboss-3.2.8.SP1
  • Start the JBoss 3 application server (MyEclipse Application Servers Icon -> JBoss 3 -> Start). Check the eclipse console to verify that it started successfully.
17:28:00,761 INFO  [Server] JBoss (MX MicroKernel) [3.2.8.SP1 (build:
CVSTag=JBoss_3_2_8_SP1 date=200603031235)] Started in 29s:293ms

It's only fair to share...
Share on FacebookGoogle+Tweet about this on TwitterShare on LinkedIn

Leave a Reply