Results 1 to 2 of 2

Thread: running java

  1. #1
    Winarto is offline Member
    Join Date
    Jan 2008
    Rep Power

    Default running java

    java -cp build\classes oata.HelloWorld
    jar cfm build\jar\HelloWorld.jar myManifest -C build\classes .

    what is the meaning of -cp? or cp stands for what?
    and cfm stands for what?:confused:

  2. #2
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Rep Power


    I hate to be rude, but have you done any trivial effort to read the fine manual?
    Its pretty clear.

    Plus, jar takes exactly the same arguments as tar.

Similar Threads

  1. Problem in running java programs
    By aravind in forum New To Java
    Replies: 0
    Last Post: 07-14-2008, 11:19 AM
  2. problem while running java code..
    By Jjava in forum New To Java
    Replies: 0
    Last Post: 02-08-2008, 06:33 AM
  3. calling a C routine from JAVA running in AIX
    By jcosta in forum New To Java
    Replies: 1
    Last Post: 01-13-2008, 07:05 PM
  4. Running a application in java
    By barney in forum Java Applets
    Replies: 1
    Last Post: 08-07-2007, 07:12 AM
  5. Running java classes with XML
    By ai_2007 in forum Advanced Java
    Replies: 1
    Last Post: 06-29-2007, 03:20 PM

Posting Permissions

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