The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

Java telnet session

Good day,

Please help as i am trying to create a java telnet session, however what is the correct jar file to download for this, i am trying to use
"org.apache.commons.net.telnet.TelnetClient" but my TelnetSession does not know of this and therefor giving an error.

/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {

Re: Java telnet session

It seems that your [code] wrapping tags in your post above are a bit off such that they didn't take effect on your code...

A search on the Internet using the search term "org.apache.commons.net.telnet.TelnetClient" shows that it's in the Apache Commons Net library. That's where you can get the jar file. Remember to add the jar file to the classpath.