I want my program to work for people with older versions of Java. My program doesn't need any special new features and it should be able to run fine in Java 6. I have Java 8 installed, and I want to know how I would go about compiling my program in Eclipse in an older version of Java without having to install Java 6.
It will automatically compile to the right version
Note this doesn't actually change the version, just that the compiler would be able to enforce the rules that another Java version would. So it should be compatible
For cross verfiying if it is compiled properly with the lower version, 1. Go to properties 2. go to java build path 3. go to libraries, 4. click on JRE System Library-- double click this to see if exceution environment is properly set.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With