Operating System: ubuntu12.04
Java version: 1.7.0 _ 07
Myeclipse version: 9.1
The Installation File for myeclipse is the. Run file myeclipse-9.1-offline-installer-linux.run
Sudo./myeclipse-9.1-offline-installer-linux.run
The following prompt is displayed:
A Java Runtime Environment (JRE) or Java Development Kit (JDK)
Must be available in order to run pulse-one-32. No Java Virtual Machine
Was found after searching the following locations:
/Tmp/oneinstall_00008/myeclipse-9.1-offline-installer-linux/installer/JRE/bin/Java
Java in your current path
The prompt is that the Java Runtime Environment is not found in the tmp directory, but I have installed it, javac and Java have been successful, and Baidu and Google have not found why for a long time, one of the posts proposed a solution: http://topic.csdn.net/u/20120609/17/6e3a983a-4fff-4636-a31d-4c1dde32d59b.html I didn't try either.
My solution is to install myeclipse to the user directory without sudo directly./myeclipse-9.1-offline-installer-linux.run, you can use it normally
Open myeclipse and create a Java 1.7 version.ProgramThe 1.7 library is not imported. You need to import it yourself.
If you create a Java 1.6 project, it will automatically help you import it. In the past, myeclipse had its own JDK 1.6 (myeclipse9.1 is like this). If it is not a project, you need to import it into the database by yourself.