![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| call constructor of java class in script | thebladerunner | Shell Programming and Scripting | 1 | 10-21-2008 04:23 PM |
| How to call Java by using shell script | aaabbb123123 | Shell Programming and Scripting | 2 | 08-21-2008 03:02 AM |
| PHP or Java Class Code Generator 1.1.0 (Default branch) | iBot | Software Releases - RSS News | 0 | 02-08-2008 12:50 PM |
| How to call Java classes/methods from ksh | girish.sh | Shell Programming and Scripting | 17 | 06-23-2006 07:04 AM |
| Running java class with a cron | UBGandalf | Shell Programming and Scripting | 3 | 10-26-2005 11:31 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to call Java class from ksh
Hi,
I am writing a korn script where I am calling ResizeImage.java from this script but its giving me an error when I execute this script. The JVM option is invalid: -server Could not create the Java virtual machine. Following is the line I am using to call java class $JAVA_HOME/bin/java -server -classpath $CLASSPATH -Xconcurrentio -Xmx1024m -XX:+UseParallelGC -XX:+UseAdaptiveSizePolicy HelloWorld> $worklogfile I have setup paths as follows: JAVA_HOME="/wpsd02/websphere/appserver/java" PATH="$JAVA_HOME"/ibm_bin:"$JAVA_HOME"/bin/:"$JAVA_HOME"/jre/bin:$PATH export CLASSPATH="wpsd02/Jyoti/imageutil_1_2_try.jar:$CLASSPATH" Can anyone explain me why it is giving this error, what is wrong with this? Thanks, Jyoti. Last edited by jyotib; 01-11-2008 at 04:41 PM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|