A PCRE internal error occured. This might be caused by a faulty plugin

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
applications:java:start [2013/12/16 11:41]
admin [Add the Oracle Java 7 Repository to Your Sources]
applications:java:start [2015/09/06 01:20] (current)
admin [Replacing OpenJDK with Oracle Java7]
Line 1: Line 1:
 ====== Oracle Java7 JDK ====== ====== Oracle Java7 JDK ======
-Sometimes you really need to use Oracle Java(7) instead of OpenJDK that comes installed with the basic LMDE. In my case it is because my IDE of choice (PHPStorm), requires Oracle Java7 and nothing else.+Sometimes you really need to use Oracle Java(7) instead of OpenJDK that comes installed with the basic LMDE. In my case it is because my IDE of choice ([[applications:​devtools:​phpstorm|PHPStorm]]), requires Oracle Java7 and nothing else.
  
 +=== Installed OpenJDK Version ===
 +<​code>​
 +java -version
 +java version "​1.7.0_21"​
 +OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-5)
 +OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
 +</​code>​
 +
 +==== Replacing OpenJDK with Oracle Java7 ====
 Scanning the Internet brought me to many explanations on how it could be achieved, but many involved removing the already available OpenJDK environment. This didn't sound really satisfactory to me as others might expect to find the OpenJDK environment available and it could cause trouble at one point or another. Scanning the Internet brought me to many explanations on how it could be achieved, but many involved removing the already available OpenJDK environment. This didn't sound really satisfactory to me as others might expect to find the OpenJDK environment available and it could cause trouble at one point or another.
  
Line 8: Line 17:
 I finally found a nice solution to this problem here: [[http://​www.webupd8.org/​2012/​01/​install-oracle-java-jdk-7-in-ubuntu-via.html|Install Oracle Java 7 in Ubuntu via PPA Repository]]. Although that solution is for Ubuntu and uses a ppa, which is not working in LMDE, thank God, they also offer a Debian based solution, you can read all about it here:\\ I finally found a nice solution to this problem here: [[http://​www.webupd8.org/​2012/​01/​install-oracle-java-jdk-7-in-ubuntu-via.html|Install Oracle Java 7 in Ubuntu via PPA Repository]]. Although that solution is for Ubuntu and uses a ppa, which is not working in LMDE, thank God, they also offer a Debian based solution, you can read all about it here:\\
 [[http://​www.webupd8.org/​2012/​06/​how-to-install-oracle-java-7-in-debian.html|How To Install Oracle Java 7 In Debian Via Repository]] [[http://​www.webupd8.org/​2012/​06/​how-to-install-oracle-java-7-in-debian.html|How To Install Oracle Java 7 In Debian Via Repository]]
 +
 +**UPDATE:** It's also possible now to **[[http://​www.webupd8.org/​2014/​03/​how-to-install-oracle-java-8-in-debian.html|install Oracle JAVA 8 in Debian using the WebUpd8 Java PPA repository]]**.\\
 +Which is basically exactly the same procedure but the source list must state //​**trusty**//​ instead of //​**precise**//​.
  
 === Add the Oracle Java 7 Repository to Your Sources === === Add the Oracle Java 7 Repository to Your Sources ===
Line 24: Line 36:
  
 You'll have to accepts the Oracle license in order to complete the process. You'll have to accepts the Oracle license in order to complete the process.
 +
 +=== Verify Oracle Java7 is Activated ===
 +<​code>​
 +java -version
 +java version "​1.7.0_45"​
 +Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
 +Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
 +</​code>​
 +
 +This is it!\\
 +I don't think it could be simpler.