Linked Questions

0
votes
1answer
4k views

How do I install the necessary JRE to run Minecraft [duplicate]

I am trying to install JRE 8 to use minecraft, but I got a .tar.gz file. I have extracted the file, it is called JRE1.8.0_201 on my desktop, but I don't know what to do. Can I please have some help ...
0
votes
0answers
897 views

Set JAVA_HOME in ubuntu 17.10 [duplicate]

I have to set JAVA_HOME on /usr/lib/jvm/java-8-oracle or /usr/lib/jvm/java-8-oracle/bin/??
0
votes
0answers
133 views

how to stop $JAVA_HOME from being removed between boots? [duplicate]

$JAVA_HOME is being removed between boots and it isn't set in the bashrc file. The commands I'm using to set $JAVA_HOME is: export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 Then I set the path as ...
91
votes
2answers
54k views

In a bash script what does a dot followed by a space and then a path mean?

I came across this example when trying to mount a usb device inside a openvz container and I have never seen the construct in the second line before. Can you explain what it signifies? #!/bin/bash . /...
7
votes
5answers
31k views

correct Installation and configuration of openJDK and R

I am relatively new to Ubuntu so I wont know a lot of commands that probably became standard to a lot of you guys. I am trying to set up R and with it the necessary java dependencies to install e.g. ...
3
votes
4answers
17k views

How to set java home?

Can any one tell me, how to set java home in Ubuntu 12.10?
6
votes
1answer
19k views

UBUNTU 16.04: How to set JAVA_HOME for Java?

I am following this How to set JAVA_HOME for Java? in order to set the environment variable JAVA_HOME to the correct version. I have different versions of java in my /usr/lib/jvm/folder as ...
3
votes
1answer
1k views

Problem launching eclipse in Ubuntu 16.04

I am running Ubuntu 16.04 I have installed openJDK via synaptic and also eclipse via synaptic. Everything was working fine. However suddenly I am getting this error when I try to open eclipse. How to ...
0
votes
1answer
4k views

No java command after installing JDK [duplicate]

I have downloaded and installed JDK 9 with NetBeans. NetBeans runs fine and I build test application that also runs fine from IDE. But if I run java command in terminal I have error 'java' can not ...
4
votes
2answers
2k views

Why $PATH is not reflecting what is in the environment file, Ubuntu 18.04?

echo $PATH provides: /usr/local/sbin:/usr/local/bin:/usr/bin:/sbin:/bin while /etc/environment states PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" I ...
1
vote
1answer
3k views

Cannot open Android project first time in new install of Android SDK in Eclipse IDE

Primary topic: Please help me with a problem encountered in attempt to begin Android project in Eclipse. Please note that I want to use Eclipse and not to install another IDE. Secondary: I want to ...
1
vote
1answer
1k views

How to get out of bash [closed]

While trying to set Java home, following someone's instructions I edited ~/.bashrc in gedit, putting the java_home script at the end of the file, and then I typed source ~/.bashrc after saving in ...
0
votes
1answer
1k views

problem in compiling java program

I'm new to Ubuntu and I have recently made my laptop dual boot Windows 8 and Ubuntu 12.04. I installed java by using the command sudo apt-get install openjdk-7-jdk It installed successfully. I ...
0
votes
1answer
811 views

Syntax to declare the JAVA_HOME variable in /etc/environment?

Where and how does the variable JAVA_HOME go? What, specifically, should the environment file contents be to correctly set JAVA_HOME alongside PATH? current environment: thufir@doge:~$ thufir@...
0
votes
1answer
516 views

Oracle Java JDK 9 unable to install via tar

I need Oracle JDK and JRE so i downloaded tar.gz from Oracle downloads page Extracted using tar zxvf jdk-9.0.4_linux-x64_bin.tar.gz as described here https://docs.oracle.com/javase/9/install/...

15 30 50 per page