Summary: | The VM specified in eclipse.ini of my AUT is not recognized by AUTsManager.java | ||||||
---|---|---|---|---|---|---|---|
Product: | [Technology] RCPTT | Reporter: | Luna Li <luna.li> | ||||
Component: | IDE | Assignee: | Project Inbox <rcptt-inbox> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | bugs.eclipse.org, jkemnade, matthias.mailaender, vasili.gulevich | ||||
Version: | unspecified | ||||||
Target Milestone: | 2.5.5 | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Attachments: |
|
AUTsManager also fails if a shared library is set as -vm, see https://wiki.eclipse.org/Equinox_Launcher#Finding_a_VM.2C_Using_JNI_Invocation_or_Executing_Java. Still an issue in recent 2.5.5 snapshots This is probably fixed in https://github.com/eclipse/org.eclipse.rcptt/pull/75 |
Created attachment 267873 [details] the eclipse.ini of my aut. I got the following message from Jenkins console output during the execution of RCPTT tests. It can not recognize the file as a valid Java VM. -------------------------------------------------------------- [INFO] Trying to use VM from application's ini file: features/com.oracle.jre.linux.gtk.x86_64_1.8.0.60/jre1.8.0_60/bin [INFO] Unknown file system layout of Java VM from ini file -------------------------------------------------------------------- I think this is caused by the following part of the function "public String addJvmFromIniFile()". if (!"bin".equals(file.getParentFile().getName())) { System.out .println("Unknown file system layout of Java VM from ini file"); return null; } In my case, "file.getParentFile().getName()" will return the string "jre1.8.0_60". Currently, i am using the RCPTT 2.0.0. This problem is not critical, but i am curious of the impact of it. Thank you.