0

Do i have to install jdk for ubuntu 14.04 or just compile in the terminal?

22nd Dec 2016, 7:16 PM
Meenakshi M S
Meenakshi M S - avatar
5 Respuestas
+ 2
If javac is working in the terminal you have a jdk installed.
22nd Dec 2016, 7:30 PM
Mattias Eriksson
Mattias Eriksson - avatar
+ 2
Yes.
22nd Dec 2016, 7:38 PM
Mattias Eriksson
Mattias Eriksson - avatar
+ 2
thank you :)
22nd Dec 2016, 7:41 PM
Meenakshi M S
Meenakshi M S - avatar
+ 1
how do I check if javac is working in the terminal? Do I do that by trying to compile a code file?
22nd Dec 2016, 7:35 PM
Meenakshi M S
Meenakshi M S - avatar
+ 1
to check java, and javac, in the terminal java -v javac -v Your system might be having openjdk. Must install Oracle jdk.
22nd Dec 2016, 8:36 PM
Rishi Anand
Rishi Anand - avatar