Skip to main content
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:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: Running a stand alone Java app
~Umberto Nongeroson 23.Sep.03 03:10 PM a Web browser
Applications Development 6.0.2 CF1 Windows 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:

c:\apps\notes\jvm\bin\java.exe -cp c:\apps\notes\Notes.jar myApplication

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




Running a stand alone Java app (~Alexis Nonnuze... 23.Sep.03)
. . RE: Running a stand alone Java app (~Naomi Nimkitex... 23.Sep.03)
. . . . RE: Running a stand alone Java app (~Alexis Nonnuze... 23.Sep.03)
. . . . . . RE: Running a stand alone Java app (~Naomi Nimkitex... 23.Sep.03)
. . . . . . . . RE: Running a stand alone Java app (~Alexis Nonnuze... 23.Sep.03)
. . . . . . . . . . RE: Running a stand alone Java app (~Naomi Nimkitex... 23.Sep.03)
. . . . . . . . . . . . RE: Running a stand alone Java app (~Alexis Nonnuze... 24.Sep.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS