Migrate from GitHub to SourceForge with this tool. Check out all of SourceForge's recent improvements.
Close

Ikvm

Small SQL

{{UserGuide}}

The ikvm tool is a Java virtual machine implemented in .NET.

Usage

ikvm [ options ] classname [ args ... ]
ikvm [ options ] -jar jarfile [ args ... ]

options

Command-line options for the virtual machine.

classname

Fully-qualified name of a class containing the main method to execute. Do not include a path or a .class extension. Do not use this with the -jar option.

jarfile

The name of an executable .jar file to execute. Used only with the -jar option.

args

Command-line arguments passed to the main class.

Options

Option Description

-? -help
Display this message

-version
Display IKVM and runtime version

-showversion
Display version and continue running

-cp -classpath
<directories and zip/jar files separated by ;> Set search path for application classes and resources

-D<name>=<value>
Set a system property

-ea[:<packagename>...|:<classname>]

-enableassertions[:<packagename>...|:<classname>]
Enable assertions.

-da[:<packagename>...|:<classname>]

:<classname>]
Disable assertions

-Xsave
Save the generated assembly (for debugging)

-Xtime
Time the execution

-Xtrace:<string>
Displays all tracepoints with the given name

-Xmethodtrace:<string>
Builds method trace into the specified output methods

-Xwait
Keep process hanging around after exit

-Xbreak
Trigger a user defined breakpoint at startup

-Xnoclassgc
Disable class garbage collection

-Xnoglobbing
Disable argument globbing

-Xverify
Enable strict class file verification

-Xreference
Add a assembly (dll or exe) as reference to the classpath. This is equals to the c# code:

Startup.addBootClassPathAssemby(Assembly.LoadFrom(name);

-Xreference:<path>\IKVM.OpenJDK.Tools.dll

-jar
Run a jar file.

-Xdebug

-Xnoagent
ignored

-XX:+AllowNonVirtualCalls

-Xms

-Xmx

-Xss

-Xmixed

-Xint

-Xincgc

-Xbatch

-Xfuture

-Xrs

-Xcheck:jni

-Xshare:off

-Xshare:auto

-Xshare:on

For compatibility with java.exe. This options will be ignored and a warning will be print to the console.


Related

Wiki: Components
Wiki: Tools
Wiki: Tutorial