Javac not found =(

aztroboy

Joined
Jun 7, 2009
Messages
3
Likes
0
Points
0
#1
Hi!

I'm new to Linux and Elastix. I installed Java in Elastix successfully (yum install java, quite simple :D ), but now I'm trying to compile a .java file (javac -cp Hello.java) and it prompts:

-bash: javac: command not found

I looked for a solution and I found that I need to rewrite some stuff in the Enviroment Variables but, since I'm new to Elastix/Linux, I dont know where can I change that or what exactly.



can someone please help me :(
 

haamed

Joined
Jul 23, 2007
Messages
251
Likes
0
Points
0
#2
You should ask this question in ASTERISK & PROGRAMMING forum,
but,
try this "java -c hello.java"
if you use "-cp", after that you should say the java package name,

if you have another question about java programming on asterisk please post in that forum

thanksB)
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top