Install Java-Bridge di Debian

Berikut langka-langkah install Java-Bridge

1. Edit /etc/apt/sources.list, add “non-free”:
deb http://ftp2.de.debian.org/debian squeeze main non-free

2. Instal Sun-Java
apt-get install sun-java6-bin sun-java6-jre
update-alternatives --config java

3. Instal Ms. Font
apt-get install ttf-mscorefonts-installer
apt-get install ttf-liberation

4. copy jasper-lib to jre/lib/ext
5. copy java-bridge to /etc/init.d
6. sesuaikan path dalam java-bridge
7. Ubah hak akses
chmod +x /etc/init.d/java-bridge
8. Jalankan daemon
/etc/init.d/java-bridge start

Manual run :
java -jar -Djava.ext.dirs="/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext" /home/majalengka/public_html/javaBridge/JavaBridge.jar SERVLET_LOCAL:8080

untuk melihat proses java:
bg
untuk mengkill proses java:
fg

ref:
http://stackoverflow.com/questions/9430559/background-process-in-linux
You can also use "bg" and "fg" commands to send a process to background and foreground. You can pause the running process by CTRL+Z.

Menghentikan Process 8080 java:
http://stackoverflow.com/questions/11583562/how-to-kill-process-running-...

command yg mungkin dibutuhnkan:
nmap -p 8080 localhost
netstat -plten |grep java

iRUL
11:47 AM 9/11/2013