java - 无法访问 jar 文件

标签 java perl jar

我在biotoolbox包中运行了一个perl脚本。(http://code.google.com/p/biotoolbox/) 但收到与 jarfile 相关的错误消息。

$./bar2wig.pl

 This program will convert bar files to a wig file
 Usage:
 bar2wig.pl [--options...] <filename>

  Options:
  --in <filename> or <directory>
  --out <filename> 

$  ./bar2wig.pl --in  /Users/biotoolbox/scripts/ --out example

This program will convert bar files to a wig file
checking input file(s)....
converting to gr files...
Unable to access jarfile /usr/local/USeq/Apps/Bar2Gr
writing wig file...
cleaning up temp files... done

我不知道如何处理错误:无法访问 jarfile 。 尽管这个脚本是perl,但它看起来像是与java相关的错误。

对此有何评论?

最佳答案

是的,显然它找不到 jarfile。阅读 Wiki 条目 jar ,但足以说明它只是一个可移植的 java 文件包。

您需要下载该 jar 文件并定义它在配置文件 biotoolbox.cfg 中的位置。

关于java - 无法访问 jar 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9774361/

相关文章:

java - Spring MVC 对 Controller 映射非常困惑

perl - 是否有非全局等效的 perlbrew?

java - 运行 Jar 文件时出现问题

java - 如何在vscode中使用相对路径为eclipse Java项目添加引用的库JAR文件

java - java中ThreadFactory的使用

java - 如何使用 VisibleForTesting 进行纯 JUnit 测试

java - 在名为 xx 的 DispatcherServlet 中未找到具有 URI xxx 的 HTTP 请求的映射

perl - 为什么这个 A0 字符出现在我的 HTML::Element 输出中?

python - 用于替换多个文本的 SED 或 AWK 脚本

android - Gradle 将 resources.jar 和 aar 上传到 jfrog artifactory。 ArtifactoryPublish会生成两个pom-default.xml,它会随机推送其中一个