ArgoUML 说找不到 Java 运行时环境
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16043250/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Can not find Java Runtime Environment Says ArgoUML
提问by Mayank Tiwari
I have properly installed jdk in my system, I have also set the CLASSPATH properly, but when I am installing ArgoUML, it shows a Message the No JRE found, what should I do?
我已经在我的系统中正确安装了 jdk,我也正确设置了 CLASSPATH,但是当我安装 ArgoUML 时,它显示一条消息 The No JRE found,我该怎么办?
回答by mike
I've just had this problem too, with a properly installed x64 JRE 8u45. Don't know if the Windows exe installer expects an x86 jvm?
我也刚遇到这个问题,正确安装了 x64 JRE 8u45。不知道 Windows exe 安装程序是否需要 x86 jvm?
Anyway, download the binary package
zip instead from http://argouml-downloads.tigris.org/argouml-0.34/and unzip somewhere. It runs fine from there * with argouml.bat
, you just don't get a start menu entry added.
无论如何,请binary package
从http://argouml-downloads.tigris.org/argouml-0.34/下载zip,然后在某处解压缩。它从那里运行良好 * with argouml.bat
,您只是没有添加开始菜单条目。
- EDIT: Your PATH must be correct to find the java.exe, easy way to check is to open a new Cmd shell (Start > Run... > cmd) and type
java -version
you should get something back from the jvm
- 编辑:您的 PATH 必须正确才能找到 java.exe,检查的简单方法是打开一个新的 Cmd shell(开始 > 运行... > cmd)并输入
java -version
您应该从 jvm 中得到一些东西
回答by k-messaoudi
I have the same problem on WIN7_X64.
我在 WIN7_X64 上有同样的问题。
I have installed it manually, here some steps:
我已经手动安装了,这里有一些步骤:
- Download the argouml-0.34 zip file
- Extract the archive to install_dir Ex:
C:\Program Files (x86)\ArgoUML-0.34
(to make it visible for all users) - Create a shortcut
ArgoUML
inC:\ProgramData\Microsoft\Windows\Start Menu\Programs
with the following information:
- 下载argouml-0.34 zip 文件
- 将存档解压缩到 install_dir Ex:(
C:\Program Files (x86)\ArgoUML-0.34
使其对所有用户可见) - 创建一个快捷方式
ArgoUML
中C:\ProgramData\Microsoft\Windows\Start Menu\Programs
包含以下信息:
Target:"install_dir\argouml.jar"
Ex: "C:\Program Files (x86)\ArgoUML-0.34\argouml.jar"
目标:"install_dir\argouml.jar"
例如:"C:\Program Files (x86)\ArgoUML-0.34\argouml.jar"
Start in:"install_dir"
Ex: "C:\Program Files (x86)\ArgoUML-0.34"
开始于:"install_dir"
例如:"C:\Program Files (x86)\ArgoUML-0.34"
Change Icon...:browse to install_dir\ArgoUML.ico
Ex: C:\Program Files (x86)\ArgoUML-0.34\ArgoUML.ico
更改图标...:浏览到install_dir\ArgoUML.ico
Ex:C:\Program Files (x86)\ArgoUML-0.34\ArgoUML.ico
You ca use
argouml.bat
but the above steps are more than enough.
您可以使用,
argouml.bat
但上述步骤已绰绰有余。
回答by david a.
Check if JAVA_HOME
environment variable is set (it should contain the directory your JRE is installed to).
检查是否JAVA_HOME
设置了环境变量(它应该包含您的 JRE 安装目录)。
回答by SAbboushi
I was able to use installer by first installing Java x86/32 bit JRE
我可以通过首先安装 Java x86/32 位 JRE 来使用安装程序