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("");
    catch (UnknownHostException e) {
      System.out.println("Could not find");



Recommended Answers

A text editor?

Jump to Post

All 3 Replies

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 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.