Results 1 to 3 of 3
  1. #1
    winterkid09 is offline Member
    Join Date
    Nov 2010
    Rep Power

    Default Trouble compiling java files

    I'm trying to create an IRC bot using java SE and have run into a problem

    I was given this direction on a site:

    To compile our example IRC Bot, you will need to open a command prompt and navigate to the directory containing the code. Assuming you have Java correctly set up, you can then compile the Bot by issuing the following command: -

    javac -classpath pircbot.jar;. *.java

    It told me that "*.java" would compile my .txt (txt files titled .java) files into .class files.

    This is my first time using a command prompt OR Java, and this is probably a very basic problem.

    PircBot - Java IRC Bot Framework (Java IRC API for Bots)

    ^^ these are the directions I am following.... I really just want to move on, help?

    PircBot Video Tutorial on Vimeo

    ^^ about 12 mins into THIS video tutorial is where I got stuck, I have followed the directions diligently, and I am running windows 7.

    my control panel looks EXACTLY like this guy's until i get the error message after typing the above command.

    The Command Prompt says: javac: file not found: *.java

    I thought *.java was an action........
    Last edited by winterkid09; 11-21-2010 at 09:14 AM. Reason: more information

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power


    Don't double post. Answers on the other thread please.
    Trouble Compiling


  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Colombo, Sri Lanka
    Blog Entries
    Rep Power


    Please don't post the same question in multiple sub-forums. Stick with a one. If you really want to move your thread please contact one of our moderators. We'll move it to appropriate place, if any. I've to close this thread.

Similar Threads

  1. Replies: 8
    Last Post: 07-30-2010, 05:47 PM
  2. Replies: 1
    Last Post: 04-13-2010, 10:58 PM
  3. Compiling Multiple Files
    By Chasingxsuns in forum New To Java
    Replies: 4
    Last Post: 02-12-2010, 02:22 PM
  4. compiling trouble
    By capacitator in forum CLDC and MIDP
    Replies: 4
    Last Post: 06-10-2008, 10:12 PM
  5. Trouble compiling code
    By waelhelbawi in forum New To Java
    Replies: 1
    Last Post: 05-12-2008, 04:25 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts