Please install Adoptium Temurin 8u322 or later. However JDK 9 or later cannot be accepted.And then try the following command for running astah* professional. $astah-proNotice: Adoptium Temurin 8u322 or later is needed by astah* professional. However JDK 9 or later cannot be accepted.用中文回答
时间: 2024-04-05 13:33:42 浏览: 10
好的,我明白了。根据您的要求,您需要安装Adoptium Temurin 8u322或更高版本的JDK,而不接受JDK 9或更高版本。您可以按照以下步骤运行astah* professional命令:
1. 首先,确保您已经安装了Adoptium Temurin 8u322或更高版本的JDK。您可以从Adoptium Temurin官方网站(https://adoptium.net/)下载适合您操作系统的JDK版本,并按照安装说明进行安装。
2. 安装完成后,打开终端或命令提示符窗口,并输入以下命令以运行astah* professional:
$ astah-pro
请注意,确保在运行astah* professional之前,您已经正确安装了要求的JDK版本,否则程序可能无法正常运行。
相关问题
Please set the JAVA_HOME variable in your environment, We need java(x64)! jdk8 or later is better!
Sure, to set the JAVA_HOME variable in your environment, you can follow these steps:
1. Find the path of your Java installation directory. For example, it could be "C:\Program Files\Java\jdk1.8.0_221" on Windows or "/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home" on macOS.
2. Set the JAVA_HOME environment variable to the path you found in step 1. For example, on Windows, you can go to Control Panel > System and Security > System > Advanced system settings > Environment Variables, then add a new system variable named JAVA_HOME with the value "C:\Program Files\Java\jdk1.8.0_221". On macOS, you can add the following line to your ~/.bash_profile file: export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home
3. Add the bin directory of your Java installation directory to the PATH environment variable. For example, on Windows, you can edit the PATH variable and add ";%JAVA_HOME%\bin" at the end. On macOS, you can add the following line to your ~/.bash_profile file: export PATH=$PATH:$JAVA_HOME/bin
Please set the JAVA_HOME variable in your environment, We need java(x64)! jdk8 or later is better! !!
Sure! To set the `JAVA_HOME` variable in your environment, you can follow these steps:
1. First, check if you have Java installed on your system. Open a terminal or command prompt and type `java -version`. If Java is installed, it will print the version information. If not, you need to download and install Java.
2. Once you have Java installed, you need to find the installation directory. On Windows, the default installation directory is `C:\Program Files\Java`. On Linux or macOS, it is usually installed in `/usr/lib/jvm`.
3. Next, set the `JAVA_HOME` environment variable to the installation directory. On Windows, you can do this by opening the System Properties dialog and going to the Advanced tab. Click the "Environment Variables" button and add a new system variable named `JAVA_HOME` with the value set to the installation directory. On Linux or macOS, you can set the variable in your shell startup script (e.g. `~/.bashrc` or `~/.zshrc`) by adding the line `export JAVA_HOME=/path/to/java` (replace `/path/to/java` with the actual installation directory).
4. Finally, add the `bin` directory to your system's `PATH` environment variable. On Windows, add `%JAVA_HOME%\bin` to the `PATH`. On Linux or macOS, add `$JAVA_HOME/bin` to the `PATH`.
After completing these steps, you should be able to run Java programs and tools from the command line.