Tuesday, March 22, 2011

'javac' is not recognized as an internal or external command

This is the error message comes to your command prompt when you are going to compile your .java file first time.
This is because you didn't set the path of the javac.exe into your environment variables. This can be set as follows:
Go to "System Properties" =>"Adnance" tab => "Environment Variables" command button at the bottom of your screen.
Now from the bottom list box select PATH and click "edit" button to edit.
Now add the path of drivename:/javaFolder/bin separated by semi colon (;) with other paths that are set already in your system.
Be careful while adding these path to PATH as there will be some other paths already shown, those should not be deleted.

If you could click on some of the google ads you see on the right side. It will help me to run this blog and motivates me ;)

Sunday, March 13, 2011

Beaware of such emails




I got this email and i searched on different site to get the truthfulness of this email. All such emails are sent by fraud to get your personal details, and further they will charge you on behalf of different legal issues.
Get more information from here.


--
Amit Ranjan
Java developer
.............................
P please consider the environment before printing e-mail-- SAVE PAPER!

Saturday, March 12, 2011

Why to choose java?


#1 Works on different platform, a particular good bridge between Linux and Windows.
#2 mature both in terms of implementation as well as APIs
#3 rich library set
#4 large community, lots of research done using Java
#5 Well established
#6 Best performance
#7 dynamically adjustable to hardware (eg. video acceleration, Machine Code optimizing, etc).
#8 web and enterprise related libraries
#9 look-and-feel
#10 IDE support
#11 available with great documentation
#12 Multiple vendors provides implementations of the Java platform
Benefits of programming with the Java programming language and its APIs:
  • object-oriented paradigm - It's obvious.

  • garbage collection - no more stray pointer problems.

  • classloading - you can dynamically deploy more code after your device has been deployed.

  • multi-threading - threads are native in the Java platform. If you need it, you can implement multi-threaded solutions with ease.

  • robust security architecture - you can deployed fine-grained security control if you want. No need to re-invent your own, and risk inventing one that has security holes.

  • networking - standard APIs allow you to do networking easily.



--
Amit Ranjan
Java developer
.............................
P please consider the environment before printing e-mail-- SAVE PAPER!

Saturday, March 5, 2011