Adblock breaks this site

Jar

Discussion in 'Programming General' started by syth4, Mar 18, 2007.

  1. syth4

    syth4 Active Member

    Joined:
    Jan 28, 2007
    Posts:
    173
    Referrals:
    1
    Sythe Gold:
    1
    Jar

    Hi,
    I'm a little new in the Java app area but how do i make JAR apps with the .class nad the runsclient.bat, compile.bat etc how?
    (And i need it to be able to be inbedded in a webpage)

    Thanks :)
     
  2. dbmain

    dbmain Guest

    Referrals:
    0
    Jar

    if you have the JDK installed and javac working in the cmd pad if you want to create a jar file....
    jar -cf filename.jar filestoaddhere.txt
     
  3. aut0er

    aut0er Active Member

    Joined:
    Apr 28, 2005
    Posts:
    131
    Referrals:
    0
    Sythe Gold:
    0
    Jar

    open notedpad
    type in:
    Code:
    @echo off
    jar -cf FILENAME.jar FILE_TO_ADD.java
    
    filename = name of jar file
    file to add = the java file to add to the jar

    --Aut0er
    EDIT: looked at the last post which is almost the same as mine lol my bad
     
< Adding Tabs? | IsNumeric C# >


 
 
Adblock breaks this site