Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 19:43

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[JAVA] .jar-File [,,Could not find the main class - program will exit"]

Discussion on [JAVA] .jar-File [,,Could not find the main class - program will exit"] within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
Grape™'s Avatar
 
elite*gold: 34
Join Date: Mar 2011
Posts: 1,703
Received Thanks: 785
[JAVA] .jar-File [,,Could not find the main class - program will exit"]

Hallo.

Habe heute mit Eclipse eine kleine GUI (swing) Anwendung geschrieben und wollte diese in ein .jar.Archiv packen. (IDE : eclipse).
Nun suche ich schon seit Stunden nach einer Lösung für das Problem, denn wenn ein Freund von mir auf seinem Rechner diese jar Datei starten möchte, erscheint die Fehlermeldung : "could not find the main class - program will exit".

Vllt. weiß jemand von euch weiter...

lg
Grape™ is offline  
Old 10/25/2011, 22:12   #2

 
Obilee's Avatar
 
elite*gold: 144
Join Date: May 2007
Posts: 62,459
Received Thanks: 29,541


lesen
Obilee is offline  
Old 10/25/2011, 22:48   #3
 
Grape™'s Avatar
 
elite*gold: 34
Join Date: Mar 2011
Posts: 1,703
Received Thanks: 785
Quote:
Originally Posted by Obilee View Post


lesen
War die erste Quelle, die ich auf meiner bisherigen (Odysee-)Suche aufgerufen habe.
Grape™ is offline  
Old 10/25/2011, 22:51   #4

 
Obilee's Avatar
 
elite*gold: 144
Join Date: May 2007
Posts: 62,459
Received Thanks: 29,541
Bei dir gehts wenn du es per java -jar bla.jar startest ja ?
Obilee is offline  
Old 10/25/2011, 22:55   #5
 
Grape™'s Avatar
 
elite*gold: 34
Join Date: Mar 2011
Posts: 1,703
Received Thanks: 785
Quote:
Originally Posted by Obilee View Post
Bei dir gehts wenn du es per java -jar bla.jar startest ja ?
Bei mir geht es generel.
Nur bei anderen gehts nicht.
Grape™ is offline  
Old 10/28/2011, 09:43   #6


 
manniL's Avatar
 
elite*gold: 294
The Black Market: 193/0/0
Join Date: Feb 2008
Posts: 6,734
Received Thanks: 1,315
Wenns noch nicht gelöst ist:

Neues Projekt, Main-Class erstellen, Sourcecode übernehmen
manniL is offline  
Old 10/28/2011, 14:03   #7
 
Grape™'s Avatar
 
elite*gold: 34
Join Date: Mar 2011
Posts: 1,703
Received Thanks: 785
Quote:
Originally Posted by ManniL View Post
Wenns noch nicht gelöst ist:

Neues Projekt, Main-Class erstellen, Sourcecode übernehmen
Funktioniert nicht.
Habe ja immer die Main Class mit der Main-Methode.
Grape™ is offline  
Reply


Similar Threads Similar Threads
[JAVA] Die Robot Class
10/13/2016 - Coding Tutorials - 22 Replies
Ihr möchtet einen Bot in Java Programmieren aber wisst nicht womit ihr Anfangen sollt ? Dann seid ihr hier genau richtig ! Hier will ich euch die Robot Class von Java näher bringen, denn mit ihr kann man eniges Anfangen was man auch für Bots nutzen kann wie die Attacken durch Tastendrücken ausführen, Pixel auslesen um z.b den HP Status dadurch zu erkennen usw. 1. Was ist die Robot Class und was kann sie ? 2. Aller Anfang ist leicht 2.1 Die Robot Class einbinden 2.2 Ein Robot Objekt...
mit welchem ​​Programm kann ich die GUI in Java (class file)
09/05/2011 - General Coding - 2 Replies
Question in topic.
How to fix the error "Undefind file(s) is installed. Please reinstall the program.
07/17/2011 - Kal Online - 7 Replies
So, as the title says, im sick of re-extracting everytime :< by the way, I made alot of shit, so i wont install new windows.
"alles Exit Button" Frage!
06/11/2011 - General Coding - 7 Replies
Hey Leute , ich hatte letztens die Idee ein Tool zu schreiben mit dem man alle Programme beendet und dann den PC runter fährt. Ich weiß leider keine Programmiersprache in der man das verwirklichen könnte. Wisst ihr wie man das macht?



All times are GMT +1. The time now is 19:44.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.