Click or drag to resize

SetupJVMWrapperImportPackage Method

Use the method available in JVM property

Imports a Java package to be used within the program

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.2.250821-1d39389489804d6a3c7a28203f93adc3f9dc1870
Syntax
[ObsoleteAttribute("Use the method available in JVM property", true)]
public void ImportPackage(
	string packageName
)

Parameters

packageName  String
The package in the form of java.lang, java.util, etc.
Example
To add package search use a code like:
C#
// the following code is the Java equivalent of import java.lang.*;

ImportPackage("java.lang");
See Also