Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse JDT
Release 3.5

org.eclipse.jdt.launching
Interface IVMInstall2

All Known Implementing Classes:
AbstractVMInstall, VMStandin

public interface IVMInstall2

Optional extensions that may be implemented by an IVMInstall.

When an IVMInstall implements this interface, clients must call getVMArgs() in place of getVMArguments() and setVMArgs(String) in place of setVMArguments(String[]). This avoids the problem noted in bug 73493.

Additionally, this interface optionally provides the Java version associated with a VM install.

Clients that implement IVMInstall may additionally implement this interface. However, it is strongly recommended that clients subclass AbstractVMInstall instead, which already implements this interface, and will insulate clients from additional API additions in the future.

Since:
3.1

Method Summary
  String getJavaVersion ()
          Returns a string representing the java.version system property of this VM install, or null if unknown.
  String getVMArgs ()
          Returns VM arguments to be used with this vm install whenever this VM is launched as a raw string, or null if none.
 void setVMArgs ( String vmArgs)
          Sets VM arguments to be used with this vm install whenever this VM is launched as a raw string, possibly null.
 

Method Detail

getVMArgs


String getVMArgs()
Returns VM arguments to be used with this vm install whenever this VM is launched as a raw string, or null if none.

Returns:
VM arguments to be used with this vm install whenever this VM is launched as a raw string, or null if none

setVMArgs

void setVMArgs(
String vmArgs)
Sets VM arguments to be used with this vm install whenever this VM is launched as a raw string, possibly null.

Parameters:
vmArgs - VM arguments to be used with this vm install whenever this VM is launched as a raw string, possibly null

getJavaVersion


String getJavaVersion()
Returns a string representing the java.version system property of this VM install, or null if unknown.

Returns:
a string representing the java.version system property of this VM install, or null if unknown.

Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire