Results 1 to 6 of 6
  1. #1
    atiprashant is offline Member
    Join Date
    May 2011
    Posts
    7
    Rep Power
    0

    Question Compile two files together through NetBeans

    Hey !!
    I am a beginner in JAVA. I want to compile two files together together through Netbeans. My applet has 6 files of code. But I dont know how to compile them through NetBeans.

    So , plz help

    Thanks in advance...:) :)

  2. #2
    Dark's Avatar
    Dark is offline Senior Member
    Join Date
    Apr 2011
    Location
    Camp Lejuene, North Carolina
    Posts
    643
    Rep Power
    4

    Default

    What do you mean by compile? Like making a JAR file?
    • Use [code][/code] tags when posting code. That way people don't want to stab their eyes out when trying to help you.
    • +Rep people for helpful posts.

  3. #3
    atiprashant is offline Member
    Join Date
    May 2011
    Posts
    7
    Rep Power
    0

    Default

    I mean to run the code

  4. #4
    mine0926 is offline Senior Member
    Join Date
    Apr 2010
    Location
    Philippines
    Posts
    580
    Rep Power
    5

    Default

    What happens when you click run on netbeans?

  5. #5
    atiprashant is offline Member
    Join Date
    May 2011
    Posts
    7
    Rep Power
    0

    Default

    It compiles just single file, one at a time. I need all files to run at a time for the applet to work properly

  6. #6
    Dark's Avatar
    Dark is offline Senior Member
    Join Date
    Apr 2011
    Location
    Camp Lejuene, North Carolina
    Posts
    643
    Rep Power
    4

    Default

    Um, the compiler starts each class when its needed automatically. If you start it, the main method will run the program as its needed.
    • Use [code][/code] tags when posting code. That way people don't want to stab their eyes out when trying to help you.
    • +Rep people for helpful posts.

Similar Threads

  1. How to compile multiple files in terminal / dos
    By DavidG24 in forum New To Java
    Replies: 8
    Last Post: 03-18-2011, 05:37 AM
  2. Replies: 0
    Last Post: 11-26-2010, 10:34 PM
  3. How to Compile JavaScript source into Java class files
    By tosreejith in forum New To Java
    Replies: 0
    Last Post: 04-06-2009, 04:12 PM
  4. Replies: 6
    Last Post: 02-06-2009, 09:05 PM
  5. Compile the java source from netbeans to binary
    By fbnsantos in forum NetBeans
    Replies: 2
    Last Post: 01-06-2009, 05:44 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
  •