Month: December 2014

Use Java 6 and Java 7 on (X)ubuntu Eclipse

Install both Java versions

Check active version

Check installed versions

In Eclipse go into
Project > Properties > Java Build Path > Add Library > JRE System Library > Alternate JRE

If your Java is not in it

  • Click on Installed JREs
  • Click Add
  • Click Standard VM
  • Choose Directory containing Java 6 (/usr/lib/jvm/java-6-openjdk-i386)

 

Shell Script – check if another instance of same script is running

Source: LinuxQuestions.org