Results 1 to 6 of 6
  1. #1
    Jhovarie is offline Banned
    Join Date
    Feb 2011
    Posts
    65
    Rep Power
    0

    Default how to run java file with multiple java libarary using cmd

    this syntax is use to run java file with one jar library "jar -cf MyLibarary.jar; Application" using cmd
    and i want to know how to run java with 2 or more java library is this possible? if yes what is the syntax?

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,902
    Rep Power
    25

    Default

    By "run java" do you mean to execute a class file?
    You can execute a .class file by using the java command.
    The java command has operands that allow you to refer to libraries with other class files.
    Read the doc for the full syntax of the java command.

  3. #3
    Jhovarie is offline Banned
    Join Date
    Feb 2011
    Posts
    65
    Rep Power
    0

    Default

    Yap to execute .class file with 2 or more java library.

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

    Default

    Read the doc for the full syntax of the java command.

  5. #5
    Jhovarie is offline Banned
    Join Date
    Feb 2011
    Posts
    65
    Rep Power
    0

    Default

    Ha?? "doc for the full syntax of the java command" where to find it? is that by typing "java" into cmd? right?

  6. #6
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,902
    Rep Power
    25

    Default

    A lot of the java docs are linked to from this site:
    Java SE 6 Documentation
    javac is on the second row

Similar Threads

  1. Why there is no multiple inheitance in java?
    By Neha Deshmukh in forum New To Java
    Replies: 8
    Last Post: 03-22-2011, 12:29 PM
  2. How to put multiple image in java?
    By Miwrath in forum New To Java
    Replies: 5
    Last Post: 10-12-2010, 12:38 PM
  3. Multiple Java in a single BOX
    By luke_devon in forum New To Java
    Replies: 2
    Last Post: 07-05-2010, 02:59 PM
  4. multiple inheritance in java
    By pawanspace in forum New To Java
    Replies: 2
    Last Post: 12-31-2007, 05:08 AM
  5. Multiple Inheritance in java
    By paty in forum New To Java
    Replies: 4
    Last Post: 08-02-2007, 03:25 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
  •