Questions tagged «classpath»

2
如何在Windows中从命令行打印默认Java类路径
我正在做一些故障排除,这需要我知道Windows下的默认类路径。有Java代码可以做到这一点(例如http://dev-answers.blogspot.com/2006/06/how-do-you-print-java-classpath.html),但我真的很想看到像您一样的东西将从perl -V: ... @INC: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl Java是否有快速的命令行方式来做到这一点?

1
Cygwin上的tdbloader:java.lang.NoClassDefFoundError
我正在尝试在Cygwin上使用tbdloader(Windows 7使用最新的Java安装)。 这是tbdloader文档: http://jenawiki.hpl.hp.com/wiki/TDB/Commands 这是我用来在我的机器上调用tdbloader的包装脚本: #!/bin/bash # Cygwin script to import large NT files in TDB. CD /cygdrive/c/mypath/TDB-0.8.10 echo "TDB found. Setting path" export TDBROOT=/cygdrive/c/mypath/TDB-0.8.10 export PATH=$PATH:$TDBROOT/bin CD /cygdrive/c/mypath/ontodata/ echo "Running import..." tdbloader --loc ./tdb ./datasets/large_file.nt 这是我得到的错误: java.lang.NoClassDefFoundError: tdb/tdbloader Caused by: java.lang.ClassNotFoundException: tdb.tdbloader at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.