Results 1 to 3 of 3
Thread: Exporting Eclipse main
- 06-18-2012, 10:48 PM #1
Member
- Join Date
- Jun 2012
- Posts
- 8
- Rep Power
- 0
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[]) {
System.out.print("Hello")
}
------------------------------
------------------------------
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/Basic.java
--------------------------------
-------------------------------
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
- 06-18-2012, 11:49 PM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,605
- Rep Power
- 5
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
- 06-19-2012, 04:01 AM #3
Re: Exporting Eclipse main
Why do they call it rush hour when nothing moves? - Robin Williams
Similar Threads
-
Eclipse Exporting
By Delinitor in forum EclipseReplies: 20Last Post: 06-19-2012, 09:13 PM -
Could not Find main class : Eclipse
By rahul405804 in forum EclipseReplies: 5Last Post: 04-08-2012, 11:55 AM -
Exporting with Eclipse
By DrHax in forum EclipseReplies: 0Last Post: 02-12-2012, 01:09 PM -
Problems exporting as JAR in eclipse
By meesterpickles in forum EclipseReplies: 0Last Post: 01-16-2012, 05:44 PM -
Using Eclipse IDE:java.lang.NoClassDefFoundError: main
By Ms.Ranjan in forum New To JavaReplies: 6Last Post: 12-12-2008, 10:17 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks