Remember me

Lost Password?

Register now!


Who's Online
53 user(s) are online (30 user(s) are browsing Forums)

Members: 3
Guests: 50

VidarS, pvanni, NinjaCyborg, more...


Report message:*

Re: New JAmiga release: 1.2

Subject: Re: New JAmiga release: 1.2
by jaokim on 2013/11/5 14:30:24


Thanks for trying it out! I will try to assemble some more information on how to develop and test stuff. I also have a developer kit planned.

jamiga:jamvm -jar jtelnet-withall.jar thor.app.telnet
't find Main-Class attribute in jtelnet-withall.jar Manifest.

This still tries to run the JAR-file, since you're using the "-jar" argument. Like others have said, this requires a manifest file.

Instead, you coud try to run the class explicitly, and adding the JAR-file to your classpath, using the ".classpath" argument. Something like this (can't try it myself atm):

jamiga:jamvm -classpath jtelnet-withall.jar thor.app.telnet

To explain it utterly simplified: running a JAR-file without a Manifest file, is like trying to execute an Amiga library.
So, when not having a Manifest file that points out the class containing the main-method (which is basically the same as a C main-function), you have to explicitly tell jamvm which to execute.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project