How to use the java.class.path function in java

To help you get started, we’ve selected a few java examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github omega / startsiden-test-javascript / qunit.js View on Github external
function init_inc(inc) {
    // What do we have here?
    var cp = environment['java.class.path'];
    // java.class.path: /Users/andremar/Projects/js/rhino/js.jar
    if (cp.match('/usr/local/share/rhino')) {
        // XXX: I hate hardcoding these, but blah!
        inc.push('/usr/local/share/startsiden-javascript-qunit');
        inc.push('/usr/local/share/startsiden-javascript-envjs');
    }

    var paths = getinc();
    for (i in paths) {
        inc.push(paths[i]);
    }
}
function safe_load(lib) {
github linkedin / dustjs / test / rhino.spec.js View on Github external
var window = this;

var isRhino = true;

print('Running unit tests with ' + environment['java.class.path']);

var requiredFiles = [
    'node_modules/jasmine-core/lib/jasmine-core/jasmine.js',
    'test/lib/rhino-bootstrap.js',
    'node_modules/ayepromise/ayepromise.js',
    'node_modules/highland/dist/highland.js',
    'tmp/dust-full.min.js',
    'test/helpers/template.helper.js',
    'test/templates/all.js',
    'test/templates.spec.js'
  ];

//load all of the dependencies and unit tests
for(var i = 0; i < requiredFiles.length; i++){
  load(requiredFiles[i]);
}
github codecentric / spring-boot-admin / spring-boot-admin-server-ui / app / js / controller / apps / details / classpathCtrl.js View on Github external
.then(function (env) {
            var separator = env.systemProperties['path.separator'];
            $scope.classpath = env.systemProperties['java.class.path'].split(separator);
        })
        .catch(function (error) {
github codecentric / spring-boot-admin / spring-boot-admin-server / src / main / webapp / public / scripts / controllers / controllers.js View on Github external
ApplicationDetails.getEnv(application).success(function(env) {
			var separator =  env['systemProperties']['path.separator'];
			$scope.classpath = env['systemProperties']['java.class.path'].split(separator);
		}).error( function(error) {
			$scope.error = error;
github VanRoy / spring-cloud-dashboard / src / main / webapp / public / scripts / controllers / controllers.js View on Github external
InstanceDetails.getEnv(instance).success(function(env) {
			var separator =  env['systemProperties']['path.separator'];
			$scope.classpath = env['systemProperties']['java.class.path'].split(separator);
		}).error( function(error) {
			$scope.error = error;
github helyho / Voovan / WEBAPP / VoovanMonitor / js / Overview.js View on Github external
var envInfo = new Vue({
            el: '#EnvInfo',
            data: {
                info: [
                    {
                        "name": "临时目录",
                        "value": sysInfo["java.io.tmpdir"]
                    }, {
                        "name": "工作目录",
                        "value": sysInfo["user.dir"]
                    }, {
                        "name": "库目录",
                        "value": ReplaceAll(sysInfo["java.library.path"], isWindowsPath(sysInfo["java.library.path"])?";":":", "<br>")
                    }, {
                        "name": "ClassPath",
                        "value": ReplaceAll(sysInfo["java.class.path"], isWindowsPath(sysInfo["java.class.path"])?";":":", "<br>")
                    }
                ]
            }
        });

    //渲染图表模块
    initAllChart();
    autoRefreshChart();
})
github hunterhacker / jdom / jdom2 / junit.report / org / jdom2 / 3_TestStringBin.html View on Github external
cur['forkjunit'] = 'true';
    
        cur['gpg'] = 'gpg';
    
        cur['instrument'] = 'true';
    
        cur['isorelax.jar'] = './contrib/lib/isorelax.jar';
    
        cur['jarbase'] = 'jdom-2.0.6';
    
        cur['java.awt.graphicsenv'] = 'sun.awt.Win32GraphicsEnvironment';
    
        cur['java.awt.printerjob'] = 'sun.awt.windows.WPrinterJob';
    
        cur['java.class.path'] = 'C:\\Java8\\git\\jdom\\build\\instrumented;C:\\Java8\\git\\jdom\\build\\junit;C:\\Java8\\git\\jdom\\lib\\jaxen-1.1.6.jar;C:\\Java8\\git\\jdom\\lib\\xercesImpl.jar;C:\\Java8\\git\\jdom\\lib\\xml-apis.jar;C:\\Java8\\git\\jdom\\lib\\junit-4.8.2.jar;C:\\Java8\\git\\jdom\\contrib\\lib\\isorelax.jar;C:\\Java8\\git\\jdom\\lib\\xalan\\xalan-2.7.2.jar;C:\\Java8\\git\\jdom\\lib\\xalan\\serializer-2.7.2.jar;C:\\Java8\\git\\jdom\\build\\core;C:\\Java8\\git\\jdom\\build\\contrib;C:\\Java8\\git\\jdom\\lib\\cobertura\\asm-3.0.jar;C:\\Java8\\git\\jdom\\lib\\cobertura\\asm-tree-3.0.jar;C:\\Java8\\git\\jdom\\lib\\cobertura\\cobertura.jar;C:\\Java8\\git\\jdom\\lib\\cobertura\\jakarta-oro-2.0.8.jar;C:\\Java8\\git\\jdom\\lib\\cobertura\\log4j-1.2.9.jar;C:\\Java8\\git\\jdom;C:\\Java\\jre1.5.0_21\\lib\\ext\\QTJava.zip;C:\\eclipse-java8\\plugins\\org.apache.ant_1.9.2.v201404171502\\lib\\ant-launcher.jar;C:\\eclipse-java8\\plugins\\org.apache.ant_1.9.2.v201404171502\\lib\\ant.jar;C:\\eclipse-java8\\plugins\\org.apache.ant_1.9.2.v201404171502\\lib\\ant-junit.jar;C:\\eclipse-java8\\plugins\\org.apache.ant_1.9.2.v201404171502\\lib\\ant-junit4.jar';
    
        cur['java.class.version'] = '51.0';
    
        cur['java.endorsed.dirs'] = 'C:\\Java\\jdk1.7.0_75\\jre\\lib\\endorsed';
    
        cur['java.ext.dirs'] = 'C:\\Java\\jdk1.7.0_75\\jre\\lib\\ext;C:\\windows\\Sun\\Java\\lib\\ext';
    
        cur['java.home'] = 'C:\\Java\\jdk1.7.0_75\\jre';
    
        cur['java.io.tmpdir'] = 'C:\\Users\\rolf\\AppData\\Local\\Temp\\';
    
        cur['java.library.path'] = 'C:\\Java\\jdk1.7.0_75\\jre\\bin;C:\\windows\\Sun\\Java\\bin;C:\\windows\\system32;C:\\windows;C:/eclipse-java8/jre/bin/server;C:/eclipse-java8/jre/bin;C:/eclipse-java8/jre/lib/amd64;C:\\ProgramData\\Oracle\\Java\\javapath;c:\\Program Files (x86)\\Intel\\iCLS Client\\;c:\\Program Files\\Intel\\iCLS Client\\;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;c:\\Program Files (x86)\\Hewlett-Packard\\HP ProtectTools Security Manager\\Bin\\;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files (x86)\\Intel\\OpenCL SDK\\2.0\\bin\\x86;C:\\Program Files (x86)\\Intel\\OpenCL SDK\\2.0\\bin\\x64;C:\\Program Files (x86)\\GNU\\GnuPG\\pub;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;C:\\Program Files (x86)\\Calibre2\\;C:\\eclipse-java8;;.';
    
        cur['java.runtime.name'] = 'Java(TM) SE Runtime Environment';
    
        cur['java.runtime.version'] = '1.7.0_75-b13';
github hunterhacker / jdom / jdom2 / junit.report / org / jdom2 / 1_TestIllegalNameExceptn.html View on Github external
cur['forkjunit'] = 'true';
    
        cur['gpg'] = 'gpg';
    
        cur['instrument'] = 'true';
    
        cur['isorelax.jar'] = './contrib/lib/isorelax.jar';
    
        cur['jarbase'] = 'jdom-2.0.6';
    
        cur['java.awt.graphicsenv'] = 'sun.awt.Win32GraphicsEnvironment';
    
        cur['java.awt.printerjob'] = 'sun.awt.windows.WPrinterJob';
    
        cur['java.class.path'] = 'C:\\Java8\\git\\jdom\\build\\instrumented;C:\\Java8\\git\\jdom\\build\\junit;C:\\Java8\\git\\jdom\\lib\\jaxen-1.1.6.jar;C:\\Java8\\git\\jdom\\lib\\xercesImpl.jar;C:\\Java8\\git\\jdom\\lib\\xml-apis.jar;C:\\Java8\\git\\jdom\\lib\\junit-4.8.2.jar;C:\\Java8\\git\\jdom\\contrib\\lib\\isorelax.jar;C:\\Java8\\git\\jdom\\lib\\xalan\\xalan-2.7.2.jar;C:\\Java8\\git\\jdom\\lib\\xalan\\serializer-2.7.2.jar;C:\\Java8\\git\\jdom\\build\\core;C:\\Java8\\git\\jdom\\build\\contrib;C:\\Java8\\git\\jdom\\lib\\cobertura\\asm-3.0.jar;C:\\Java8\\git\\jdom\\lib\\cobertura\\asm-tree-3.0.jar;C:\\Java8\\git\\jdom\\lib\\cobertura\\cobertura.jar;C:\\Java8\\git\\jdom\\lib\\cobertura\\jakarta-oro-2.0.8.jar;C:\\Java8\\git\\jdom\\lib\\cobertura\\log4j-1.2.9.jar;C:\\Java8\\git\\jdom;C:\\Java\\jre1.5.0_21\\lib\\ext\\QTJava.zip;C:\\eclipse-java8\\plugins\\org.apache.ant_1.9.2.v201404171502\\lib\\ant-launcher.jar;C:\\eclipse-java8\\plugins\\org.apache.ant_1.9.2.v201404171502\\lib\\ant.jar;C:\\eclipse-java8\\plugins\\org.apache.ant_1.9.2.v201404171502\\lib\\ant-junit.jar;C:\\eclipse-java8\\plugins\\org.apache.ant_1.9.2.v201404171502\\lib\\ant-junit4.jar';
    
        cur['java.class.version'] = '51.0';
    
        cur['java.endorsed.dirs'] = 'C:\\Java\\jdk1.7.0_75\\jre\\lib\\endorsed';
    
        cur['java.ext.dirs'] = 'C:\\Java\\jdk1.7.0_75\\jre\\lib\\ext;C:\\windows\\Sun\\Java\\lib\\ext';
    
        cur['java.home'] = 'C:\\Java\\jdk1.7.0_75\\jre';
    
        cur['java.io.tmpdir'] = 'C:\\Users\\rolf\\AppData\\Local\\Temp\\';
    
        cur['java.library.path'] = 'C:\\Java\\jdk1.7.0_75\\jre\\bin;C:\\windows\\Sun\\Java\\bin;C:\\windows\\system32;C:\\windows;C:/eclipse-java8/jre/bin/server;C:/eclipse-java8/jre/bin;C:/eclipse-java8/jre/lib/amd64;C:\\ProgramData\\Oracle\\Java\\javapath;c:\\Program Files (x86)\\Intel\\iCLS Client\\;c:\\Program Files\\Intel\\iCLS Client\\;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;c:\\Program Files (x86)\\Hewlett-Packard\\HP ProtectTools Security Manager\\Bin\\;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files (x86)\\Intel\\OpenCL SDK\\2.0\\bin\\x86;C:\\Program Files (x86)\\Intel\\OpenCL SDK\\2.0\\bin\\x64;C:\\Program Files (x86)\\GNU\\GnuPG\\pub;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;C:\\Program Files (x86)\\Calibre2\\;C:\\eclipse-java8;;.';
    
        cur['java.runtime.name'] = 'Java(TM) SE Runtime Environment';
    
        cur['java.runtime.version'] = '1.7.0_75-b13';
github hunterhacker / jdom / jdom2 / junit.report / org / jdom2 / 0_TestIllegalAddExceptn.html View on Github external
cur['forkjunit'] = 'true';
    
        cur['gpg'] = 'gpg';
    
        cur['instrument'] = 'true';
    
        cur['isorelax.jar'] = './contrib/lib/isorelax.jar';
    
        cur['jarbase'] = 'jdom-2.0.6';
    
        cur['java.awt.graphicsenv'] = 'sun.awt.Win32GraphicsEnvironment';
    
        cur['java.awt.printerjob'] = 'sun.awt.windows.WPrinterJob';
    
        cur['java.class.path'] = 'C:\\Java8\\git\\jdom\\build\\instrumented;C:\\Java8\\git\\jdom\\build\\junit;C:\\Java8\\git\\jdom\\lib\\jaxen-1.1.6.jar;C:\\Java8\\git\\jdom\\lib\\xercesImpl.jar;C:\\Java8\\git\\jdom\\lib\\xml-apis.jar;C:\\Java8\\git\\jdom\\lib\\junit-4.8.2.jar;C:\\Java8\\git\\jdom\\contrib\\lib\\isorelax.jar;C:\\Java8\\git\\jdom\\lib\\xalan\\xalan-2.7.2.jar;C:\\Java8\\git\\jdom\\lib\\xalan\\serializer-2.7.2.jar;C:\\Java8\\git\\jdom\\build\\core;C:\\Java8\\git\\jdom\\build\\contrib;C:\\Java8\\git\\jdom\\lib\\cobertura\\asm-3.0.jar;C:\\Java8\\git\\jdom\\lib\\cobertura\\asm-tree-3.0.jar;C:\\Java8\\git\\jdom\\lib\\cobertura\\cobertura.jar;C:\\Java8\\git\\jdom\\lib\\cobertura\\jakarta-oro-2.0.8.jar;C:\\Java8\\git\\jdom\\lib\\cobertura\\log4j-1.2.9.jar;C:\\Java8\\git\\jdom;C:\\Java\\jre1.5.0_21\\lib\\ext\\QTJava.zip;C:\\eclipse-java8\\plugins\\org.apache.ant_1.9.2.v201404171502\\lib\\ant-launcher.jar;C:\\eclipse-java8\\plugins\\org.apache.ant_1.9.2.v201404171502\\lib\\ant.jar;C:\\eclipse-java8\\plugins\\org.apache.ant_1.9.2.v201404171502\\lib\\ant-junit.jar;C:\\eclipse-java8\\plugins\\org.apache.ant_1.9.2.v201404171502\\lib\\ant-junit4.jar';
    
        cur['java.class.version'] = '51.0';
    
        cur['java.endorsed.dirs'] = 'C:\\Java\\jdk1.7.0_75\\jre\\lib\\endorsed';
    
        cur['java.ext.dirs'] = 'C:\\Java\\jdk1.7.0_75\\jre\\lib\\ext;C:\\windows\\Sun\\Java\\lib\\ext';
    
        cur['java.home'] = 'C:\\Java\\jdk1.7.0_75\\jre';
    
        cur['java.io.tmpdir'] = 'C:\\Users\\rolf\\AppData\\Local\\Temp\\';
    
        cur['java.library.path'] = 'C:\\Java\\jdk1.7.0_75\\jre\\bin;C:\\windows\\Sun\\Java\\bin;C:\\windows\\system32;C:\\windows;C:/eclipse-java8/jre/bin/server;C:/eclipse-java8/jre/bin;C:/eclipse-java8/jre/lib/amd64;C:\\ProgramData\\Oracle\\Java\\javapath;c:\\Program Files (x86)\\Intel\\iCLS Client\\;c:\\Program Files\\Intel\\iCLS Client\\;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;c:\\Program Files (x86)\\Hewlett-Packard\\HP ProtectTools Security Manager\\Bin\\;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files (x86)\\Intel\\OpenCL SDK\\2.0\\bin\\x86;C:\\Program Files (x86)\\Intel\\OpenCL SDK\\2.0\\bin\\x64;C:\\Program Files (x86)\\GNU\\GnuPG\\pub;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;C:\\Program Files (x86)\\Calibre2\\;C:\\eclipse-java8;;.';
    
        cur['java.runtime.name'] = 'Java(TM) SE Runtime Environment';
    
        cur['java.runtime.version'] = '1.7.0_75-b13';