Will the use of -classpath
option with java
, add to or replace the contents of the CLASSPATH
env variable?
VM Options FilesYou can find the options for the Java Virtual Machine in the . vmoptions files that are located in Collaborator install folder. The file name corresponds to the name of the appropriate executable file. For server the path will be: <Collaborator Server>/ccollab-server.vmoptions.
To launch a class file: java [options] mainclass [args ...] To launch the main class in a JAR file: java [options] -jar jarfile [args ...]
Using the classpath variable it overrides the CLASSPATH of Environment variable but only for that session. If you restart the application you need to again set the classpath variable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With