An alternative approach to classpath

If you are bundling a private JRE with your application, it may not be necessary for you to specify the .jar files your application uses in the Classpath parameter box.The JRE provides a repository in jre\lib\ext where these files can reside so that they can be automatically recognized and loaded by the runtime.

In the directory structure below, examples.jar has been moved to jre\lib\ext. Hence there is no longer any need to specify it in the Classpath parameter box.

approot\
  jre\
    bin\
      classic\
        jvm.dll
      hotspot\
        jvm.dll
      server\
        jvm.dll
    lib\
      ext\
        examples.jar
  console.exe