JDE is short for Java Development Environment. The image installs Oracle Java 7 and maven by default.
If you want to develop Java programs, you don't even need to install Java locally. Write your code with your favorite IDE and use
jde as Java runtime to run the program.
There's one command to get into the terminal with Oracle Java 7 installed.
docker run -i -t --net=host --privileged -v /:/host tobegit3hub/jde
-v /:/host we can access the files in the host and put them in
I will take HBase project as example. Now I want to implement a client to access HBase.
Firstly, we should start a HBase cluster for test. Here is standalone-hbase-0.94 which helps to run standalone HBase easily.
Secondly, we write the code with my favorite IDE and put it in local file system. The code should look like smoke-hbase.
Finally, if we want to test the client, just open a new terminal and run
jde with the above command. Now we find Java is well installed and run the program easily. We can edit the code outside docker container with IDE. The code in
jde seems to update immediately because they are exactly the same files.