I've recently installed Ubuntu 11.10 64-bit.

I'M FACING SOME PROBLEMS....!!!....

1.
After installing Geany my *.cpp/*.c (which is in other drives ) are not running, but it's compiling.

the terminal is showing
"./geany_run_script.sh: 5: ./ ( name of program ) : Permission denied "

but the program which is saved in home directory is running.

but the .java files are running from any drive in geany.

2.
i could not make compile any .java file from Terminal
by giving the command
"javac *.java"

how could i solve the problems.

Give me some suggestions soon.
PLZ