hello. i have made an application in Java, but now i want to make its installable format for it. please guide me that how can i do that? thanks i advance. Regards.
Glenn Murray
Ranch Hand
Joined: Dec 07, 2001
Posts: 74
posted
0
Make an executable jar file of the app. See the jar documentation for how to do this. GM
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Stan James
(instanceof Sidekick)
Ranch Hand
Joined: Jan 29, 2003
Posts: 8791
posted
0
I was playing with executable jar today, followed all the instructions, and always get an error that Java cannot find the class named in the Main-Class: tag. I found one discussion thread on the web with several people who had the same problem, but no solutions. Is this a common problem? What am I doing wrong?
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Michael Morris
Ranch Hand
Joined: Jan 30, 2002
Posts: 3451
posted
0
Is this a common problem?
Do bears live in the woods? Yep, very common. It generally has to do with a package problem, but it could be other things as well. What is the directory structure of you jar file and what is the fully qualified name of your main class, that is like com.package.MainClass? Post that and a copy of the mainfest and maybe we can get it to work. Michael Morris
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.