Showing posts with label java. Show all posts
Showing posts with label java. Show all posts

Wednesday, February 18, 2015

How to Set the JAVA_HOME Variable in Windows 8.1

Find JDK Installation Directory
First you need to know the installation path for the Java Development Kit.
Open the default installation path for the Java Development Kit
C:\Program Files\Java
There should be a subdirectory like
C:\Program Files\Java\jdk1.6.0_10
Set the JAVA_HOME Variable
Once you have the JDK installation path:
  1. Right-click the My Computer icon on
  2. your desktop and select Properties.
  3. Click the Advanced tab. Click the
  4. Environment Variables button. Under System Variables, click New.
  5. Enter the variable name as JAVA_HOME.
  6. Enter the variable value as the installation path for the Java Development Kit.
  7. Click OK.
  8. Click Apply Changes.
You might need to restart windows.

Monday, February 11, 2013

Install Java JDK / JRE for OpenSuse 12.2

 If you need java installation to enable you to develop applications then you need JDK(Java Development Kit). If you don't want to develop any application in java and you just want to run some jars and some applets in the browser like Firefox then what you would need is to install JRE and JAVA Plugin. Due to some licensing issues, Oracle (Sun) Java JRE cannot be distributed through the official repositories of openSUSE since openSUSE 12.1. Here is a official quick guide to install newest and secure version of Java. For people who just want the software and averse to long procedure i would suggest installing them from user maintained repositories. openSUSE don't guarantee any stuff downloaded from user maintained repositories. I usually install from user maintained repositories and they work just fine.

To install JRE (packages are named java-...-sun-plugin-...rpm) . Installing using plugin link will automatically pull in the required JREs.
You can get JRE 1.6 here. alternatively you can also use these one-clicks (1,2,3,4,5) on openSUSE 12.2 for a simpler simple install.
You can get JRE 1.7 here. Here are the one-clicks (1,2) for a openSUSE 12.2 simple install.

To install JDK (packages are named java-...-sun-devel-...rpm)
You can get JDK 1.6 here. Here are the one-clicks(1,2,3,4,5) for a openSUSE 12.2 simple install.
You can get JDK 1.7 here. Here are the one-clicks(1,2) for a openSUSE 12.2 simple install.