Win a copy of Rust Web Development this week in the Other Languages forum!

Ahmad El-Komey

Greenhorn
+ Follow
since Feb 20, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ahmad El-Komey

Campbell Ritchie wrote:It is worth trying the following instructions at a terminal (root or sudo access not required):If you get no response to the which instructions, you will have to search for the java tool. You should see what the PATH points to, and it is best to have an empty system CLASSPATH.



here's the output - after netbeans installation -

the last echo command has no output.
9 years ago
@ Vijay Kalkundri: I did try that too. Still the same error shows up

@ Campbell Ritchie: Thanks for the greeting

I have uninstalled both JDK7 and JRE7:



and re-installed them, but nothing happened .. the same error shows up

one of my friends suggested to install netbeans and things will turn to be OK. And for my surprise, he was right!!
I still don't know what happened in the underlying OS, and that means I need to read more and more about linux and Ubuntu.

Thanks guys for your concern
9 years ago
Hello,

I have installed JDK 7:

also, I have installed jre:


I opened my text editor ( Geany ) and created a new file, named it "test.java" and started to salute the world:

I saved the file on the desktop, so:


and now here is the result:


any help?
thanks in advance ..
9 years ago