Friday, July 10, 2015

Java set up on your machine


5/13/2014

programfilesx86 is for 32 bit

look in java folder in programfiles –for version of jdk installed

- Src zip file is source code of oracle of jdk because its it open source

- Java – version --- in cmd gives java version or java, alone will give complete list of commands

- Java environment variable: java related files will look for it. And IDE also have inbuilt environment variables set up

Java_home ===folderpath of jdk

Path === %JAVA_HOME%\bin

- Jdk to be installed before eclipse

- Javac –version === will tell you whether you have set up path variable properly for environment variable

- Eclipse.org->download eclipse->eclipse for JEE Web Develepors(batch.java.plus.web.pages(servlets,jsp,web services and EJB’s)

- Eclipse categorization

1. Capabilities[Job Roles]

2. Perspectives[java,Jee,Debug etc]

3. Wizards is made up of 1 to N steps with each step being a view

4. View is 1 tabbed window[with tabs at the top or bottom] 1 – editor behind the window





7/12/2017:
Check if java is installed:
>java -version -- will give jre is installed  --working
>javac -version - will give if compiler is installed   -- working
I think jre+compiler=JDK 

Some times javac might throw error even if jdk is installed, you need to set path to bin directory in environment variable. 

No comments:

Post a Comment