News

Java Forever Video

This is a funny video exploring family drama regarding the battle between Java & Microsoft.

Have a look at it start ROFL (Rolling On the Floor Laughing).

[youtube=http://www.youtube.com/watch?v=d9JIiCkDyMQ&fs=1&hl=en_US]

Check your Operating System & its version

Free Source Code

Free Source Code

Objective :

  • How to check your operating system by programming?
  • How to check your operating system by Java programming?
  • Write Java program to check operating system & its version

Hi folks,

Hey guys, if you want to know which operating system you are using & its version, there are 2 ways to do it as follows;

  • Using Command Prompt
  • Using Programming

1. Using Command Prompt

  • Go to Start Menu
  • Go to Run
  • Type cmd & press Enter/return. Command Prompt will open.
  • Type ver & press Enter/return, you will get the Name of your OS & its Version that you are using
Here I have used, ver command one of the DOS commands which returns Name of Operating System and its version.

2. Using Programming

Here we are using a Java Program to find the operating system you are using & its version :
[sourcecode language=”java”]
package com.si.java.utility.os;

/**
*
* Language : Java
* File : MyOS.java
* Date : Tuesday, October 5, 2010
* @author Atul Palandurkar
* Email : atul.palandurkar@gmail.com
* Website : www.shardainfotech.com
* Blog : http://atulpalandurkar.wordpress.com
*
*/

public class MyOS
{
public static void main(String[] arg)
{
//To find the name of operating system.
String myOS = System.getProperty("os.name");
System.out.println("Operating System : " + myOS);

//To find the version of operating system.
String myOSVersion = System.getProperty("os.version");
System.out.println("Version : " + myOSVersion);
}
}
[/sourcecode]

So, what are you waiting for?
Use it to create various system utilities & have fun.

Find your IP Address

Free Source Code

Free Source Code

Objective :

  • How to find IP address of your computer?
  • How to find IP address by programming?
  • How to find IP address by Java programming?
  • Write a Java program to find IP Address.

Hello guys.

Do you want to find your IP Address?

There are following ways to check / find your IP Address

  1. Using Command prompt.
  2. Using Programming.
1. Using Command Prompt :
  • Open Command Prompt.
  • Type “ipconfig” without quotes & Press Enter. IP Address will be displayed.
2. Using Programming :
Here we are using a Java Program to find the IP Address. The Java Program to find the IP Address is as follows;

[sourcecode language=”java”]

package com.si.java.utility.ip;

import java.net.InetAddress;

/**
*
* Language : Java
* File : IPAddressFinder.java
* Date : Saturday, October 2, 2010
* @author Atul Palandurkar
* Email : atul.palandurkar@gmail.com
* Website : www.shardainfotech.com
*
*/

public class IPAddressFinder
{

public static void main(String[] args)
{
try
{
InetAddress ia = InetAddress.getLocalHost();
String ip = ia.getHostAddress();
System.out.println("Your IP Address :- "+ip);
}
catch (Exception ex)
{
ex.printStackTrace();
}
}
}
[/sourcecode]

The above code can be very useful to find the IP address of your computer, as well as this can be used to find the IP address of the user in internet based applications with a little change in it.
Use it & have fun.
..

First Meeting of NetBeans User Group, Nagpur

First Meeting of NUG Nagpur :
Date n Time :
Thursday September 23rd, 2010; 8:30 PM – 9:00 PM
Venue :
Beans & Buddies
Pratibha Sankul
besides Alankar Cinema
North Ambazari Road , Nagpur

Google maps :

Directions for Alankar Cinema : http://bit.ly/b99xgD
Tentative agenda is as follows:
  1. Detailed introduction of NetBeans User Group Nagpur – Tushar Joshi
  2. Introductions of members – All Members
  3. Information about the forthcoming sessions related to NetBeans in Nagpur – Tushar Joshi
  4. Discussion about the basic objectives of group – All members

The meeting started exact on 8:30 PM on September 23rd, 2010 & finished on 10 PM as everyone was so eager to know about NetBeans. The meeting was really very much motivating & full of energy. The strange coincident that we held the First Meeting of NetBeans at the restaurant Beans & Buddies, NetBeans — Beans & Buddies.
Thanks a lot to Dear Tushar Joshi Sir for his kind & very useful guidance to all of us. He told us many things which we were unaware of, I have been using NetBeans but I did not know the history of NetBeans, Founder of NetBeans Sir Jaroslav “Yarda” Tulach, the Sun & NetBeans, etc. Now I & all the other who were attending the meeting knows thing about the NetBeans, and would definitely like to share all the information to the world.
We also learned about the NetBeans Certified Associate Program & NetBeans Certified Engineer Program, etc. after attending the 2 day training offered to us & after completing the different tasks assigned after completing the training. As well as we learn about ThinkingRock for GTD (Getting Things Done).
I have used Eclipse, IntelliJ IDEA, JCreator, etc. many more IDEs for Java Project Development but I found the NetBeans the best among the all other IDEs available in the market. The biggest advantage of using NetBeans you don’t need to install plug-ins for servers, various libraries, in other  words you don’t need to take care of anything, and simply go on writing code for what you want to develop seamlessly.
I really love NetBeans a lot. NetBeans being a Open Source Application also allows us to know & learn many things as well. I don’t think I am going to use any other IDE in future rather than NetBeans.
Recommendation :
I would love to recommend the NetBeans as the Best IDE in the World for Java & other technologies.
Unforgettable moments: