Which software is needed with JDK 7 to write this code?

import java.net.*;

class OreillyByAddress {

  public static void main (String args[]) {

    try {
      InetAddress address = InetAddress.getByName("204.29.207.217");
      System.out.println(address);
    }
    catch (UnknownHostException e) {
      System.out.println("Could not find 204.29.207.217");
    }

  }

}

A text editor?

as long as yo have compiled it you can run it.

Ok , I will try it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.