Results 1 to 3 of 3
  1. #1
    Crowdy199 is offline Member
    Join Date
    Jun 2012
    Rep Power

    Question Exporting Eclipse main

    Ok guys so this is my code its my first basic hello world program (that worked)
    package me.BOSS.0boss;

    public class Basic {
    public static void main(String args[]) {
    I wrote that in eclipse but when i export it out of eclipse as a final prodject i clicked runable jar becuase it needs to be a run able jar but when i export it it says
    JAR export finished with warnings. See details for additional information.
    Exported with compile errors: Checker/src/me/BOOS/0boss/
    So i just clicked ignore and then when i click open it didn t open i belive that if u save it as a runable jar it should open in a cmd window and that is your console bar so it should open a cmd window and print Hello i am also using a 64 bit jre7 if u no how to make it open like it should plz awnser thansk

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Rep Power

    Default Re: Exporting Eclipse main

    a) The code you posted isn't compileable - its missing a final bracket. b) export as a Runnable Jar, not a Jar c) Please spend a bit more time composing your posts, that is if you wish to receive help in a timely manner. The last paragraph your wrote is barely readable with its use of pseudo-words and abbreaviations

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

Similar Threads

  1. Eclipse Exporting
    By Delinitor in forum Eclipse
    Replies: 20
    Last Post: 06-19-2012, 09:13 PM
  2. Could not Find main class : Eclipse
    By rahul405804 in forum Eclipse
    Replies: 5
    Last Post: 04-08-2012, 11:55 AM
  3. Exporting with Eclipse
    By DrHax in forum Eclipse
    Replies: 0
    Last Post: 02-12-2012, 02:09 PM
  4. Problems exporting as JAR in eclipse
    By meesterpickles in forum Eclipse
    Replies: 0
    Last Post: 01-16-2012, 06:44 PM
  5. Using Eclipse IDE:java.lang.NoClassDefFoundError: main
    By Ms.Ranjan in forum New To Java
    Replies: 6
    Last Post: 12-12-2008, 11:17 PM

Tags for this Thread

Posting Permissions

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