About executing class files....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #16
    I don't see a ClassPath entry at all in that manifest ...

    Comment

    • sukatoa
      Contributor
      • Nov 2007
      • 539

      #17
      Originally posted by r035198x
      I don't see a ClassPath entry at all in that manifest ...
      yah, i've attempted to add Class-Path below the Name: common, (ERROR)

      I also tried to add the contents of the INDEX.LIST from connectorJ.jar into my DMA_OpenSource_ API.jar, (ERROR)

      That is why i didn't add the classpath their, since all of my attempts are not successful.....

      @123: By the way, im already a year in Java, but i still don't see any Libraries that connects to other libraries, is it already exists? or am i too innocent about this?

      Please let me know,

      my resolution is to break the dma/db from the DMA_OpenSouce_A PI.jar and add it to a new jar that contains the com folder(where the Driver.class can be found), since it is all about simplifying database handling.....(M y purpose is only for the scope of our project)

      If i am innocent about "@123", then, sooner or later i will dive to that implementation again....

      Thanks for all of your replies Jos and r035198x, That really helps.....

      already have a peace of mind,
      sukatoa

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #18
        Here's how I do it:

        [code=text]
        Manifest-Version: 1.0
        Created-By: DADID Systems
        Main-Class: IDEMain
        Class-Path: rpl.jar utilities.jar resources.jar rpldb.jar derby.jar
        Built-By: DADID Systems
        Name: RPL ide
        Specification-Title: RPL ide Application
        Specification-Version: 1.0
        Specification-Vendor: DADID Systems
        Implementation-Title: RPL ide Application
        Implementation-Version: 1.0
        Implementation-Vendor: DADID Systems
        [/code]

        The name of my little company is 'DADID Systems'. The application uses a couple
        of jars, mentioned on the Class-Path: line. The IDEMain class has the main()
        method and that class is present in one of the mentioned jars. A few of the
        name dropping lines can be left out of course.

        kind regards,

        Jos

        Comment

        • sukatoa
          Contributor
          • Nov 2007
          • 539

          #19
          Originally posted by JosAH
          Here's how I do it:

          [code=text]
          Manifest-Version: 1.0
          Created-By: DADID Systems
          Main-Class: IDEMain
          Class-Path: rpl.jar utilities.jar resources.jar rpldb.jar derby.jar
          Built-By: DADID Systems
          Name: RPL ide
          Specification-Title: RPL ide Application
          Specification-Version: 1.0
          Specification-Vendor: DADID Systems
          Implementation-Title: RPL ide Application
          Implementation-Version: 1.0
          Implementation-Vendor: DADID Systems
          [/code]

          The name of my little company is 'DADID Systems'. The application uses a couple
          of jars, mentioned on the Class-Path: line. The IDEMain class has the main()
          method and that class is present in one of the mentioned jars. A few of the
          name dropping lines can be left out of course.

          kind regards,

          Jos
          Thanks for your reply Jos,

          I have a question,

          Does any of your jars accesses one another except your main jar? or all of them are being used only at the main jar?

          if not clear, please let me know,

          Comment

          • JosAH
            Recognized Expert MVP
            • Mar 2007
            • 11453

            #20
            Originally posted by sukatoa
            Thanks for your reply Jos,

            I have a question,

            Does any of your jars accesses one another except your main jar? or all of them are being used only at the main jar?
            Yep, quite a lot of classes in one jar access/use other classes from the other jars.
            That isn't a problem as long as those jars are mentioned in the classpath.

            kind regards,

            Jos

            Comment

            Working...