#
#
# IDL Java bridge configuration (Windows)
#


##########################
# Java CLASSPATH setting
##########################
#
#
#    This setting determines how the IDL-Java bridge finds its java classes.
#    It MUST be set in the config file if you wish to find any classes other 
#    than those provided by Java
#
#    If $CLASSPATH appears in the setting (as shown below), the value of 
#    the environment variable $CLASSPATH is substituted in this setting
#
#    Entries in Classpath should be separated by a semi-colon on Windows and
#    a colon on Linux and macOS.
#
#    NOTE: This setting follows the rules of the -classpath option in the java 
#          or javac command,  That is, .jar files should be explicitly stated.  
#          If only a directory location is specified, Java will find .class 
#          files inside this folder but NOT .jar files


# Allow IDL-Java bridge to use .class files located in my CLASSPATH and also the 
# classes found in the examples .jar file shipped with the bridge

JVM Classpath = $CLASSPATH;C:\Program Files\NV5\IDL92\resource\bridges\import\java\jbexamples.jar 


################################
# Java virtual machine locations
################################
#
#    JVM is required.
#
#    This setting controls which Java Virtual Machine is started by
#    the IDL-Java Bridge. This is determined as follows:
#
#       1. If 'JVM LibLocation' is set in the config file, this JVM is run.
#
#       2. Otherwise, check the environment variable $IDLJAVAB_LIB_LOCATION.
#          It is the secondary method for setting 'JVM LibLocation'.  If set,
#          this JVM is run.
#
#       3. Else, check the environment variable $JAVA_HOME.  This often points
#          to the top of the current Java SDK.  From this setting, the bridge 
#          attempts to infer a 'good' JVM to run.  It looks for these JVMs in
#          order:
#          classic, hotspot, client, server.
#
#       4. Otherwise, check the JavaSoft registry entries.  
#          If 'Java Development Kit' is set, use the JVM in this SDK
#          (assumes hotspot JVM for Java 1.8 and client JVM for 1.8 and later)
#          Otherwise, if 'Java Runtime Environment' is set, use this JVM.
#
#
#     For example:
#      JVM LibLocation  = C:\jdkX.X\jre\bin\client
#

JVM LibLocation = C:\Program Files\NV5\IDL92\bin\bin.x86_64\jre\bin\server\


###################
# JVM start options
###################
#
#   'JVM Option#'
#      There may be up to 20 additional JVM options specified.  These 
#      will be used when starting the JVM.  
#
#      NOTE: This is for advanced users only who understand JVM initialization
#
#      For example, a user that wants to reset the initial and maximum memory
#      allocated when the JVM starts, might do something like:
#        JVM Option1 = -Xms4m
#        JVM Option2 = -Xmx16m
#
#      NOTE: These options are unsupported options...thus their effects are 
#            implementation-dependent. It's possible that your implementation 
#            doesn't support them.
#


###########################
# IDL-Java Bridge debugging 
###########################
#
#
# Some limited debugging is provided via a log file.  
#
# 'Log Location':  Location where log files will be created.  
#                  Log files have format jb_log<pid>.txt
#
# 'Bridge Logging':  Level of debugging information logged to log file.  
#                    Possible options are:
#                    - SEVERE (default, bridge errors logged)
#                    - CONFIG (configuration settings logged)
#                    - CONFIGFINE (configuration settings logged, more detail)

#Log Location = c:/temp/
#Bridge Logging = CONFIG


##############################
# IDL-Java Bridge Reset Policy
##############################
#
# By default, the IDL-Java bridge persists for the duration of the IDL
# session in which it was created. This means that modifications to
# items in the Java Classpath are not loaded until a new IDL session
# is started. This policy allows the IDL-Java bridge to be configured
# to reset when the IDL executive command .FULL_RESET_SESSION is executed.
#
# 'Restart Bridge':  Policy for restarting the IDL-Java bridge.
#                    Possible options are:
#                    - False (Bridge does not reset during an IDL session)
#                    - True  (Bridge resets when the .FULL_RESET_SESSION
#                             executive command is executed)

#Restart Bridge = False


