This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: Running a stand alone Java app ~Umberto Nongeroson 23.Sep.03 03:10 PM a Web browser Applications Development 6.0.2 CF1Windows 2000
Not unless you explicitly use the Notes JVM to run the application. Remember when running a Java application, the java command refers to the JVM used, either on the PATH, or by explicit name. Suppose I have Notes installed on my local system in c:\apps\notes, and the Sun JDK installed in d:\jdk1.4.2, and further assume that d:\jdk1.4.2\bin is in the PATH. If I use the following command:
java myApplication
The OS will use normal path rules to find the "java" command, and in most cases will find java.exe in the JDK. Now if you wanted to explicitly use the JVM in Notes, you would simple be explicit about which JVM to run, like this:
c:\apps\notes\jvm\bin\java.exe myApplication
Which will use the JVM in Notes. Please note that running the Notes JVM like this does not automatically give you access to classes in Notes.jar, etc, you must have added them to your CLASSPATH or mention them on the command line like:
Also make sure your c:\apps\notes directory is in the PATH somewhere or the native methods will not find the DLL's that implement the native methods. And you can just add c:\apps\notes\jvm\bin to your PATH, so all java commands find it instead of any other JVM you have installed. Depends on your needs.
Hope this helps.
--Joe
Joseph Millar
Principal Software Engineer
Brightline Technology