-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running RemoteSwingLibrary with standalone JAR fails on invalid javaagent in JAVA_TOOL_OPTIONS #15
Comments
How do you add RemoteSwingLibrary jar to your path? Do you add it to PYTHONPATH, JYTHONPATH, or CLASSPATH? And also, do you use environment variable or a commandline argument ---pythonpath? |
Just on the
|
Actually if you add remoteswinglibrary-2.0.0.jar to JYTHONPATH instead of CLASSPATH it works. The logic for finding where the jar is doesnt work from CLASSPATH... It is a bug in RemoteSwingLibrary I think, but at least there is a workaround for now. |
See my comment here: #42 |
When starting a local Java application with a Windows batch script using RemoteSwingLibrary, the java.exe process never starts up.
Robot Framework
log.html
shows on DEBUG level that it sets theJAVA_TOOL_OPTIONS
to something invalid.By looking at the code, it seems like
__file__
is resolved as__pyclasspath__
, which suggests that this is a Jython issue.Overriding the
JAVA_TOOL_OPTIONS
in the application's batch script will allow Java to start up, but of course then RemoteSwingLibrary won't be able to connect to it.The text was updated successfully, but these errors were encountered: