Posty

Wyświetlanie postów z listopad, 2012

Download Oracle Java from command line

wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://download.oracle.com/otn-pub/java/jdk/7u9-b05/jdk-7u9-linux-i586.rpm"

Steve Jobs' 2005 Stanford Commencement Address

Obraz

Set up JBoss AS 5.1.0 and Seam 2.2.0 in Ubuntu 9.04

This post describes the steps I took to set up JBoss AS 5.1.0 and Seam 2.2.0 in Ubuntu 9.04 on my local machine.  This post assumes Ubuntu 9.04 is already installed.
1. List of Technologies Used

Ubuntu 9.04 Jaunty Jackalope Desktop 32-bit
Sun JDK 6
Eclipse 3.5 Galileo
JBoss Application Server (AS) 5.1.0 GA
Seam Engine 2.2.0 GA
MySQL 5.0
JBoss AS Tools 2.1.0-M2
Seam Tools 3.1.0-M3
Apache Ant 1.7.1

2. Installation Procedures
a. Sun JDK 6
Install Package
1. Open Synaptic Package Manager

2. Install package sun-java6-jdk and its dependencies
Set up Environment
1. Open ~/.profile with a text editor

2. Add environment variable JAVA_HOME to point to your Java directory

e.g. export JAVA_HOME = /usr/lib/jvm/java-6-sun-1.6.0.14

2. Update environment variable PATH to include your Java/bin directory

e.g. export PATH = $JAVA_HOME/bin:$PATH
b. Eclipse 3.5 Galileo
Install Package
1. Open URL http://www.eclipse.org/downloads/

2. Download the appropriate Eclipse IDE package

This post uses Eclipse 3.5 Galileo for Linux 32-bit

3. …