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.

Recover Data from Damaged Hard Disk

Nero 9

Yes. At least that is what it claims. Anybody using Nero 9, please update how efficient is this feature.

Nero BackItUp & Burn lets you:

* Perform tasks quickly and intuitively in just a few steps
* Back up data to hard drive, CD, DVD, Blu-ray Disc, FTP, memory card,
and online storage*
* Rely on automatic backups to local hard drives and online storage
* Schedule backup jobs with flexibility and convenient e-mail confirmation
* Burn discs with the world's most reliable burning application
* Create audio CDs, copy DVDs, and Blu-ray Discs
* Sync all your files and folders for easy access to the latest versions
* Recover data from deleted and damaged storage media
* Restore files, folders, drives, and entire systems
* Enjoy the Nero Online Backup trial and get 1 GB storage space for 3
months FREE

Please define the storage media. Can it retrieve data ( at least partially) from a damaged CD/DVD.

(A Direct quote from Nero)