![]() |
![]() |
|
![]() |
![]() |
|
Programmierung Rat & Tat für Programmierer |
|
Themen-Optionen | Ansicht |
![]() |
#2 |
Inventar
![]() Registriert seit: 13.06.2001
Beiträge: 1.830
|
![]() Sicher ist das möglich. Die normale main Methode ist ja auch static (public static void main(String[] args))
Du kannst im manifest den "entry point" bestimmen, soweit ich weiß muß das eine main Methode sein. Du musst daher entweder die Klasse so verändern das sie eine ordendliche main Methode hat oder einfach eine zweite Klasse schreiben die sich um das starten kümmert. Siehe: http://java.sun.com/docs/books/tutor...ar/appman.html http://java.sun.com/docs/books/tutorial/deployment/jar/ http://www.javaworld.com/javaworld/j...avatip127.html jak
____________________________________
Join the DNRC | Godwin\'s Law (thx@stona) Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing. \"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra) |
![]() |
![]() |
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|