Right now you can try to use the Oracle Java for linux instead of the Open JDK until some issues are fixed for that open source Java run time environment.
Try to purge open JDK and replace it with the Oracle java runtime environment with these commands in the terminal. I got this in another thread here but I will copy paste it in here for you and others looking into development.
~~~~~~~~~~~~~~`
Preparing your system:
First you need to remove openjdk for this run the following command from your terminal
- Code: Select all
sudo apt-get purge openjdk*
If you installed java 7 from any other PPA and you are having problem with java then you have to do following steps before installing the PPA mentioned here:
- Code: Select all
sudo rm /var/lib/dpkg/info/oracle-java7-installer*
- Code: Select all
sudo apt-get purge oracle-java7-installer*
- Code: Select all
sudo rm /etc/apt/sources.list.d/*java*
- Code: Select all
sudo apt-get update
NOW : Install oracle java 7 in Linux Mint 14.1
Open the terminal and run the following commands:
- Code: Select all
sudo add-apt-repository ppa:webupd8team/java
- Code: Select all
sudo apt-get update
- Code: Select all
sudo apt-get install oracle-java7-installer
Hopefully that will help you with your Java problems.