Is it OK to have only JRE8 on host machine?

I downloaded the class 3 project for eclipse from the google drive. I was able to import it from into my eclipse (although I did have to fix up a host speciific path to the hadoop-core-0.20.2-cdh3u0.jar, but that was pretty easy) Anyway my host windows machine has JavaSE 1.8.0_5 and I get this warning "Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment. I believe this is OK because the code will execute on cloudera VM which I confirmed has JavaSE 1.6.0_24-b07.
So I don't think this is a problem and I can ignore this issue (and not have to install JavaSE 1.6 on my host machine) can anyone confirm this?

2 Answer(s)



From my understanding 'cloudera hadoop examples' are compiled against JRE1.6. You might see errors when you import your examples into eclipse, and also, might have to export jar with errors...

But if you try the examples with JRE 1.8 let us know how they worked.



hi Chip,

All examples were compiled with JRE1.6, technically most examples should work, but you may see warnings or errors in some cases.


Your Answer

Click on this code-snippet-icon icon to add code snippet.

Upload Files (Maximum image file size - 1.5 MB, other file size - 10 MB, total size - not more than 50 MB)