08-08-2008
Try using ":" (colon) instead of ";" (semicolon) as the path separator in your classpath.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I recieve the following error when trying to run the following command in a ksh. The operating system is AIX5.1.
/usr/bin/jar -xvf {filename}.zip
Can't find class java.lang.System
But when I run it on the command line it unzips the file fine.
Does anybody know why this... (2 Replies)
Discussion started by: ctcuser
2 Replies
2. UNIX for Dummies Questions & Answers
Hi Folks,
I'm a serious UNIX newbie... I'm using a bash shell on Mac OS X.
Basically I took up unix in order to use a specific image processing software package... I've learned enough to write a script to batch process all of my images, but I have so many that I would like to use an... (1 Reply)
Discussion started by: Slanter
1 Replies
3. UNIX for Dummies Questions & Answers
Hi...
I have build a program for the Velleman K8000 interface card, in java, which works just fine in windows, but now I want to use the program on a Unix-System.
Is it possible to somehow convert the dll file to a format that Unix supports, or do I have to find another way?
Dll-file:... (3 Replies)
Discussion started by: Scorp-D
3 Replies
4. Shell Programming and Scripting
Hi all,
I have a Unix script that will compile all Java files in a sub folder as follows:
find . -name "*.java" -print -exec $JAVA_HOME/bin/javac -cp .:$CLASSPATH '{}' \;
I would like to enhance it to only compile those Java files who:
1.) Have no class file
2.) Have a class file... (1 Reply)
Discussion started by: Annorax
1 Replies
5. Ubuntu
Hi,
how to add external jar file in jsp application on eclipse.
Thanks
SN:confused: (0 Replies)
Discussion started by: snallusami
0 Replies
6. Shell Programming and Scripting
Hi,
I have created a Shell Script and invoke through java using Process Builder
It's working fine, if (Shell script file ) in the same directory as java file.
By Problem:
How to run the Shell Script file( resides in external directory) using java. What configuration i have... (1 Reply)
Discussion started by: nanthagopal
1 Replies
7. Programming
Hello!
This is my first post, and I just learned what UNIX was this week. For a JAVA programming class I am taking, I must be able to create a directory in UNIX, use the nano command to create a JAVA program, compile it, and then run it on the command prompt using the java command.
For some... (5 Replies)
Discussion started by: UNdvoItX
5 Replies
8. Shell Programming and Scripting
I have a .jar placed in my Unix directory. The .jar creates a .csv file .I want to execute the .jar and place the output file in a target Unix directory.
The Unix Script is as follows. The issue that i am facing is that the file is not being placed in the REPORTDIR=/cdunix/IQNavigator/wrk instead... (4 Replies)
Discussion started by: pankajkargeti12
4 Replies
9. Shell Programming and Scripting
unzip -v gives CRC info of each file in a zip(in my case .EAR) file.
# unzip -v my-application.ear
Archive: my-application.ear
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
197981 Defl:N 183708 7%... (1 Reply)
Discussion started by: kchinnam
1 Replies
ikvm(1) General Commands Manual ikvm(1)
NAME
ikvm - java virtual machine executable using the CLI runtime
SYNOPOSIS
ikvm [ options ] class [ args ... ]
ikvm [ options ] -jar jarfile [ args ... ]
DESCRIPTION
IKVM is an implentation of the Java for the Common Language Infrastructure (CLI) runtime. It includes a byte code JIT compiler/verifier to
translate Java byte code to CIL and GNU Classpath to provide the Java class libraries. ikvm program performs this translation and execu-
tion at run time, the ikvmc(1) program provides a static compilation to CIL.
This program is intended to act as a drop-in replacement for the java program that executes java bytecode (with or without a JIT) and as
such, takes a subset of that tool's options and arguments as given here.
ikvm operates in two modes, either on a fully-qualified Java classname or on a jar file with the -jar jarfile option given. Any remaining
arguments args ... are passed to the main class.
CLASS SEARCHING
Classes are searched for in the current directory if no -cp / -classpath option, no -jar option and no CLASSPATH environment variable is
set.
If only CLASSPATH is set and no ptions are given only that is used to find classes, the current directory is not used unless CLSSPATH con-
tains .
If -cp / -classpath is given, CLASSPATH is ignored.
If -jar is given, the jar file is put at the start of the classpath taken from either the -cp / -classpath option or from CLASSPATH.
See also the description for the -Xbootclasspath option below.
OPTIONS
-cp path
-classpath path
Set the JVM classpath to search for application classes and resources. The path is a sequence of directories and zip/jar files sep-
arated by : (; on Windows). If this option is given more than once, only the last one applies.
-Dname=value
Set a system property name to value.
-ea[:packagename ... | :classname]
-enableassertions[:packagename ... | :classname]
Enable assertions.
-da[:packagename ... |:classname]
-disableassertions[:packagename ... | :classname]
Disable assertions.
-version
Display IKVM and runtime version
-Xbootclasspath:path
Set the boot JVM classpath for bootstrap classes and resources. The path is a sequence of directories and zip/jar files separated
by : (; on Windows). If this option is given more than once, only the last one applies.
-Xbreak
Trigger a user defined breakpoint at startup
-Xmethodtrace:string
Builds method trace into the specified output methods
-Xsave Save the generated assembly for debugging.
-Xtime Time the execution.
-Xtrace:name
Displays all tracepoints with the given name.
-Xwait Keep the process hanging around after exit.
-? -help
Display a summary of the usage.
SEE ALSO
ikvmc(1), ikvmstub(1).
IKVM Project web site http://ikvm.net/ <http://ikvm.net/>
Man page by Dave Beckett, made available under the same terms as IKVM.
2005-06-19 ikvm(1)