Jump to content

JAVA help!!!


Nero D. Ace

Recommended Posts

so, i dled a jar program. the only problem is that its in java and i dont know jack about it. there was just a Read Me file in it along with a lib folder which contained some .jar files

the guy said i needed JDK so i installed that as well, but i still cant figure it out

here are the contents of the Read Me file. hopefully, you'll be able to make some sense out of it.

========================

BUILD OUTPUT DESCRIPTION

========================

When you build an Java application project that has a main class, the IDE

automatically copies all of the JAR

files on the projects classpath to your projects dist/lib folder. The IDE

also adds each of the JAR files to the Class-Path element in the application

JAR files manifest file (MANIFEST.MF).

To run the project from the command line, go to the dist folder and

type the following:

java -jar "SendMail.jar"

To distribute this project, zip up the dist folder (including the lib folder)

and distribute the ZIP file.

Notes:

* If two JAR files on the project classpath have the same name, only the first

JAR file is copied to the lib folder.

* Only JAR files are copied to the lib folder.

If the classpath contains other types of files or folders, none of the

classpath elements are copied to the lib folder. In such a case,

you need to copy the classpath elements to the lib folder manually after the build.

* If a library on the projects classpath also has a Class-Path element

specified in the manifest,the content of the Class-Path element has to be on

the projects runtime path.

* To set a main class in a standard Java project, right-click the project node

in the Projects window and choose Properties. Then click Run and enter the

class name in the Main Class field. Alternatively, you can manually type the

class name in the manifest Main-Class element.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...
Please Sign In or Sign Up