Results 1 to 4 of 4
  1. #1
    tmdurand is offline Member
    Join Date
    Jan 2009
    Posts
    1
    Rep Power
    0

    Angry Hello to all members!

    I've been a programmer in other languages for many years, but just started in JAVA in the last two years (beginner).

    Now, I'm working on my first JAVA project, and I'm stuck trying to build a JAR file using a mainClass and a MANIFEST file - I keep getting the error: Cannot find the main class".

  2. #2
    davejay is offline Member
    Join Date
    Jan 2009
    Posts
    9
    Rep Power
    0

    Default

    to create a JAR File u need to include the package as Jar in Utility.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by tmdurand View Post
    I've been a programmer in other languages for many years, but just started in JAVA in the last two years (beginner).

    Now, I'm working on my first JAVA project, and I'm stuck trying to build a JAR file using a mainClass and a MANIFEST file - I keep getting the error: Cannot find the main class".

    Can you show your manifest file content.

    I think it's better to look at the jar deploying tutorial on Suns' web site. Here is the link

  4. #4
    meili's Avatar
    meili is offline Member
    Join Date
    Jan 2009
    Location
    philippines
    Posts
    18
    Rep Power
    0

    Default

    hello! I'm Mei Li and I'm still a student. Hope I could learn more from you.

Similar Threads

  1. Hello to all the members of this forum
    By Jevy in forum Introductions
    Replies: 0
    Last Post: 10-11-2008, 01:20 AM
  2. Hello to all the members of javaforums
    By Hanumant in forum Introductions
    Replies: 2
    Last Post: 09-07-2008, 04:37 PM
  3. Members List
    By Eranga in forum Suggestions & Feedback
    Replies: 11
    Last Post: 01-17-2008, 10:41 AM
  4. hi all members
    By ismailsaleh in forum Introductions
    Replies: 2
    Last Post: 01-07-2008, 03:23 PM
  5. CruxBlack greetings to all members...
    By cruxblack in forum Introductions
    Replies: 4
    Last Post: 08-10-2007, 01:55 AM

Posting Permissions

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