英文:
Issues with CytoScape - 3.10.0 - Not Launching - error installing bundle listed in startup.properties with url:
问题
Cytoscape版本3.10.0在Windows 10上启动时遇到问题,使用Adoptium jdk-11,但也尝试了jdk-17.0.8+7。
在Cytoscape输出文件中,我有以下错误:在startup.properties中列出的URL安装捆绑包时出错:mvn:org.apache.karaf.features/org.apache.karaf.features.core/4.3.7,启动级别:15
我尝试了Adoptium Java环境的其他版本,还尝试了Cytoscape的测试,得到以下输出:
Cytoscape测试:
'jvmVariant'不被识别为内部或外部命令,可执行程序或批处理文件。
Windows的Cytoscape系统要求检查器
目标Cytoscape版本:3.9.0
您的Windows版本是:
Microsoft Windows [版本10.0.19044.3086]
已安装Java
有关Java的更多详细信息
openjdk版本“11.0.20” 2023-07-18
OpenJDK Runtime Environment Temurin-11.0.20+8(构建11.0.20+8)
OpenJDK 64位服务器VM Temurin-11.0.20+8(构建11.0.20+8,混合模式)
您的系统是64位的
您的JAVA_HOME设置为C:\Program Files\Eclipse Adoptium\jre-11.0.20.8-hotspot\bin
您的Java主要版本为11
您的Java版本至少为11,符合要求
您的Java版本不高于11,符合要求
% 总计 % 已下载 % Xferd 平均速度 时间 时间 时间 当前
Dload Upload 总计 已花费 剩余 速度
0 50642 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
在https://apps.cytoscape.org上的“应用”商店可达
摘要
成功!您已准备好运行Cytoscape 3.9.0
按任意键继续. . .
英文:
Looking for some advice, seeing an issue with Cytoscape version 3.10.0 not launching on Windows 10, running Adoptium jdk-11 , but have also tried jdk-17.0.8+7
In the Cytoscape output file I have the following error Error installing bundle listed in startup.properties with url: mvn:org.apache.karaf.features/org.apache.karaf.features.core/4.3.7 and startlevel: 15
I have tried other versions of the adoptium java environments, also tried the test from cytoscape that gets the following output :
Cytoscape test:
'jvmVariant' is not recognized as an internal or external command,
operable program or batch file.
Cytoscape System Requirements Checker for Windows
Target Cytoscape version: 3.9.0
Your Windows version is:
Microsoft Windows [Version 10.0.19044.3086]
Java is installed
More details on Java
openjdk version "11.0.20" 2023-07-18
OpenJDK Runtime Environment Temurin-11.0.20+8 (build 11.0.20+8)
OpenJDK 64-Bit Server VM Temurin-11.0.20+8 (build 11.0.20+8, mixed mode)
Your system is 64 bit
Your JAVA_HOME is set to C:\Program Files\Eclipse Adoptium\jre-11.0.20.8-hotspot\bin
Your Java Major version is 11
Your Java version is at least version 11 as required
Your Java version is no higher than version 11 as required
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 50642 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
The "app" store at https://apps.cytoscape.org is reachable
Summary
Success! You are ready to run Cytoscape 3.9.0
Press any key to continue . . .
答案1
得分: 0
是的,我们已经注意到了这个问题。Java 11和Java 17的最新版本引入了一个破坏性变更,会导致zip文件出现问题。有两种解决方法:
- 降级到Java 17.0.7版本(这个变更是在17.0.8中引入的)。
- 在启动之前执行导出命令EXTRA_JAVA_OPTS="-Djdk.util.zip.disableZip64ExtraFieldValidation=true"。
在Windows环境中,选项2可能会非常困难(您需要编辑.bat文件并只从那里启动)。我建议采用选项1。我们正在努力修复这个问题,很快将发布新版本(3.10.1)。
英文:
Yes, we are aware of this issue. The latest versions of Java 11 and Java 17 introduced a breaking change that breaks zip files. There are two workarounds:
- Downgrade to Java 17.0.7 (the change was introduced in 17.0.8)
- Do export EXTRA_JAVA_OPTS="-Djdk.util.zip.disableZip64ExtraFieldValidation=true" before launching.
#2 would be very difficult in a Windows environment (you would need to edit the .bat file and only launch from that). I would recommend doing #1. We are working on a fix and will release a new version (3.10.1) shortly.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论