January-18th-2019, 07:44 PM
Hello Sir,
I followed the procedure suggested by you..
Here is what i did
1) Connected HDMI monitor, Mouse, Keyboard to Net Pi and the HDMI container is set to restart on startup.
2) Powered on the Netpi
3) Then using the terminal on HDMI screen, entered the commands for downloading eclipse "apt get install eclipse"
4) Eclipse got installed successfully
5) Then entered the command "eclipse" in the terminal. Opened the GUI and it was working as intended.
I didnot try these commands yet in a Dockerfile and will let you know once i do that.
Meanwhile, I need few clarifications.
1) As we downloaded eclipse from the terminal but not using docker image, Is the eclipse application which is run by following above procedure running through docker or it is running outside docker?
2) In my application I have a java file which has to access an external file using a http request. All my java application written on eclipse running on Netpi worked well except that the http request could not be made.
3) I tried making a http request from the chromium browser in Netpi. It worked well.
4) Also tried running the same program in eclipse on RPi3. The http request was made successfully from the Java application it self.
I want to know whether this problem is due to the fact that we are running eclipse out of docker or is there any other piece I am missing.
By the way, I would like to thank you for your elaborate response which helps a beginner like me to understand things better..
Thanks again
Rahul
I followed the procedure suggested by you..
Here is what i did
1) Connected HDMI monitor, Mouse, Keyboard to Net Pi and the HDMI container is set to restart on startup.
2) Powered on the Netpi
3) Then using the terminal on HDMI screen, entered the commands for downloading eclipse "apt get install eclipse"
4) Eclipse got installed successfully
5) Then entered the command "eclipse" in the terminal. Opened the GUI and it was working as intended.
I didnot try these commands yet in a Dockerfile and will let you know once i do that.
Meanwhile, I need few clarifications.
1) As we downloaded eclipse from the terminal but not using docker image, Is the eclipse application which is run by following above procedure running through docker or it is running outside docker?
2) In my application I have a java file which has to access an external file using a http request. All my java application written on eclipse running on Netpi worked well except that the http request could not be made.
3) I tried making a http request from the chromium browser in Netpi. It worked well.
4) Also tried running the same program in eclipse on RPi3. The http request was made successfully from the Java application it self.
I want to know whether this problem is due to the fact that we are running eclipse out of docker or is there any other piece I am missing.
By the way, I would like to thank you for your elaborate response which helps a beginner like me to understand things better..
Thanks again
Rahul