testng-eclipse
                                
                                 testng-eclipse copied to clipboard
                                
                                    testng-eclipse copied to clipboard
                            
                            
                            
                        is there any way to set run testng jre Differ from project build jre (testng default use project build jre)
i use tesng for orm lib project project release with jdk8 but testng run with jdk11
i can run testng first ( it will be error ) and then click run -> run configrations to set testng jre to jdk11 for each
so when i want to run a  new test ( a method or a class) i will do twice
is there any way to set run testng jre Differ from project build jre (testng default use project build jre)
The Dependency Management tool for your project
- [ ] Maven
- [x] Gradle
- [ ] Ant
- [ ] Eclipse Buildpath (aka. Use "TestNG Library" for your project in Eclipse)
Operating System
- [x] Windows
- [ ] Linux
- [ ] OSX
testng eclipse plugin use the project/build JRE, generally, the test should use the same JRE of build and runtime.
if you do want to use JRE 8, you may install an old version of the plugin https://github.com/testng-team/testng-eclipse/releases/tag/7.4.0.202106051955
OK, now work correctly