sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #47022
[Question #668304]: importing and running jar with swing gui: no main manifest attribute
New question #668304 on Sikuli:
https://answers.launchpad.net/sikuli/+question/668304
hello! first and foremost, please bear with me, my knowledge of python/jthon/java is extremely limited!, i am using this project to learn as i go
i have a working sikulli script that fires up a web browser, and logs into a free online game, i created a basic gui to set variables with swing in eclipse (using jformdesigner https://marketplace.eclipse.org/content/jformdesigner-swing-gui-designer#group-details )
when i run the script , console shows:
http://prntscr.com/jaqsnu
"no main manifest attribute"
the lines im using to import and open are :
# loading the jar file for the gui
load("C:\\sikulli\\KHv4.sikuli\\configwindow.jar")
#import the jar
import subprocess
# run the configwindow GUI
subprocess.call(['java', '-jar', 'C:\\sikulli\\KHv4.sikuli\\configwindow.jar'])
i have uploaded the .jar file, as well as the .class, .java, and .jfd files here:
https://mega.nz/#F!72AhBCTD!3fKiAILI9huwu6MU21CzaQ
i assume i made a mistake somewhere in eclipse, any pointers or reference material would be greatly appreciated!
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.