Skip to main content

Essentials for Programming in Java

Java programming is basic for every programmer.

There are two ways to use java in a PC for Programming

Using IDE:

If you are using any IDE Like Eclipse , Net Beans

Install the Java Runtime Environment (JRE)

Download JRE

This would suffice.

Using System Editor:

If you want to code manually

Download JRE
Java SDK

Now you can use the System Editor to Code Java

Compile with javac filename.java
Run with Java filename


Caution:

The Second method of running java has a Special Constrain.

All the source files must be placed in BIN folder of Java.

If you wish to place the source files some where else (base folder), you need to set path.

Setting Path for Java:

1. Open Command Dos Prompt (Windows + R and Type cmd)

2. Navigate to the folder where you want to work out your files.

Example:
If you want all your programs to be in D:\Java Programs

use cd D:\Java Programs

3. Asuming that your Java is installed in C:\Program Files\Java\Java SDK 1.4\Bin

then set path as

set path = "C:\Program Files\Java\Java SDK 1.4\Bin";

4. To check whether the path is set correctly, type java in Dos Prompt and Press Enter.

You will see the java help file.

Comments

Your blog is very informative and gracefully
your guideline is very good.Thank you
Regional pharmacy college
deepshikha group of colleges

Popular posts from this blog

HQL to SQL Convertor

Stepping in to the field of java API. Presenting you my first invention HQL to SQL convertor. This is a Command line version with which you can convert simple Hibernate query language(HQL) to Structured Query Language. This is my first release and not an exception for bugs and errors. If you find any errors, please feel free to inform me. Your suggestion are valuable. Usage : java -jar HQLtoSQLConvertor.jar Example: java -jar HQLtoSQLConvertor.jar "from Syndrome" HQL to SQL Convertor

Difference Between Cloudy Vision and Blurred Vision

Blurred Vision: If the Sharpness of the Image goes of, its blurred Vision. The image appears like its is not Clear and details wont be clear enough to analyze what is what. In the worst case, the Shape of the Image goes blurred, even a Cow appear as an ATM Machine Cloudy Vision: Cloudy vision means Consider a glass of water , add a drop of Milk in it. Then see how it looks. That is how you would see the world. The whole thing is clear but you would see a Mild Screen.

Moto E | MotoGP 2018 PC | Cockpit camera

Not sure if you can hear the bike noise. Keep your headphones up and enjoy the Cockpit camera