开发者

Installing Java in Win7 64bit

开发者 https://www.devze.com 2023-01-21 00:28 出处:网络
I have a new laptop and attempted to install jdk-1_5_0_22-windows-amd64, jdk-1_5_0_22-wi开发者_如何转开发ndows-i586-p and jdk-6u22-windows-i586 without success.

I have a new laptop and attempted to install jdk-1_5_0_22-windows-amd64, jdk-1_5_0_22-wi开发者_如何转开发ndows-i586-p and jdk-6u22-windows-i586 without success.

I have used java before and I am familiar with environment variables. However I cannot get the java version at command prompt or the java compiler to work.

Also I am using Blackberry JDE and it does not find the installed version to build.

Can anyone help me?


Add the path to the Java bin folder to your PATH environment variable.

In order to run any java from the command line, the bin folder of the java installation must be added to the PATH environment variable. Without this, the command prompt cannot find your java installation, so it cannot run your files. Make sure to open a new copy of the command line after you set the environment variable.

Right click on My Computer and choose Properties. Choose the Advanced tab, and then the Environment Variables button. There should be a "Path" under system variables. Add a semicolon to the end and add the path to your installation's bin folder after that.


I would imagine that the Blackberry JDE makes use of the JAVA_HOME variable. I am guessing that it is not set so the JDE doesnt know where to look on the file system.

I think that Erick is correct in verifying that the bin directory has been added to the PATH. If you used the installer, you might need to reboot your machine.

Finally, the JDE appears to be a slightly aged package. I cannot seem to find the statement saying that the Blackberry JDE supports 64 bit java.

0

精彩评论

暂无评论...
验证码 换一张
取 消