Javac not found =(

Discussion in 'General' started by aztroboy, Jun 7, 2009.

  1. aztroboy

    Joined:
    Jun 7, 2009
    Messages:
    3
    Likes Received:
    0
    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:


    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 :(
     
  2. haamed

    Joined:
    Jul 23, 2007
    Messages:
    251
    Likes Received:
    0
    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)
     

Share This Page