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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-31 21:43:12  来源:igfitidea点击:

Can not find Java Runtime Environment Says ArgoUML

javaargouml

提问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 packagezip 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 packagehttp://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 -versionyou 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 ArgoUMLin C:\ProgramData\Microsoft\Windows\Start Menu\Programswith the following information:
  • 下载argouml-0.34 zip 文件
  • 将存档解压缩到 install_dir Ex:(C:\Program Files (x86)\ArgoUML-0.34使其对所有用户可见)
  • 创建一个快捷方式ArgoUMLC:\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.icoEx: C:\Program Files (x86)\ArgoUML-0.34\ArgoUML.ico

更改图标...:浏览到install_dir\ArgoUML.icoEx:C:\Program Files (x86)\ArgoUML-0.34\ArgoUML.ico

You ca use argouml.batbut the above steps are more than enough.

您可以使用,argouml.bat但上述步骤已绰绰有余。

回答by david a.

Check if JAVA_HOMEenvironment 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 来使用安装程序