Showing posts with label simple java applications in solaris. Show all posts
Showing posts with label simple java applications in solaris. Show all posts

Tuesday, 14 May 2013

First Shell Script to Run Java Applications in Solaris


#!/bin/bash
JAVA_HOME=/usr/jdk/jdk1.7.0_07/bin
PATH=$JAVA_HOME/bin:$PATH
export PATH JAVA_HOME


java -classpath .:./config:./lib/1.jar:./lib/2.jar:com.test.run.ClassName