The simplest would be to change the java version nr. in the conf/ red5.properties to 1.5..

Thijs


On Aug 11, 2007, at 2:18 AM, Tariq Dweik wrote:

it is clear from your log that there is a missing import, sun.misc.HexDumpEncoder, and your JDK/JRE is not Sun's JDK, to resolve this, goto http://java.sun.com and install and setup the Linux JDK and try to build using it.

-T

On 8/10/07, Nauman Nasir <[EMAIL PROTECTED]> wrote:
i untar apache ant, and after setting the path. i swtiched to /usr/ local/red5 where the build.xml of red5 exists. here i gave the command

# ant server &

i read it in a tutorial.... and the result was

[EMAIL PROTECTED] red5-0.6rc2]# ant server &
[1] 18269
[EMAIL PROTECTED] red5-0.6rc2]# Buildfile: build.xml
[echo] java.home is /usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre and the target version is 1.6

server:
[echo] java.home is /usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre and the target version is 1.6

-java6.check:

-junit.check:

prepare:

compile:
     [echo] Javac version: 1.6
     [echo] Compiler adapter name: modern
[echo] java.home is /usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre and the target version is 1.6

compile_core:
[echo] java.home is /usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre and the target version is 1.6

compile_core_compatibility:
[javac] Compiling 301 source files to /usr/local/red5/ red5-0.6rc2/bin
    [javac] ----------
[javac] 1. ERROR in /usr/local/red5/red5-0.6rc2/src/org/red5/io/ utils/HexDump.java (at line 24)
    [javac]     import sun.misc.HexDumpEncoder;
    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The import sun.misc.HexDumpEncoder cannot be resolved
    [javac] ----------
[javac] 2. ERROR in /usr/local/red5/red5-0.6rc2/src/org/red5/io/ utils/HexDump.java (at line 47)
    [javac]     HexDumpEncoder hde = new HexDumpEncoder();
    [javac]     ^^^^^^^^^^^^^^
    [javac] HexDumpEncoder cannot be resolved to a type
    [javac] ----------
[javac] 3. ERROR in /usr/local/red5/red5-0.6rc2/src/org/red5/io/ utils/HexDump.java (at line 47)
    [javac]     HexDumpEncoder hde = new HexDumpEncoder();
    [javac]                              ^^^^^^^^^^^^^^
    [javac] HexDumpEncoder cannot be resolved to a type
    [javac] ----------
    [javac] 3 problems (3 errors)

BUILD FAILED
/usr/local/red5/red5-0.6rc2/build.xml:748: The following error occurred while executing this line: /usr/local/red5/red5-0.6rc2/build.xml:150: The following error occurred while executing this line: /usr/local/red5/red5-0.6rc2/build.xml:303: Compile failed; see the compiler error output for details.

Total time: 12 seconds



On 8/9/07, Tariq Dweik <[EMAIL PROTECTED]> wrote:
Hello Nauman,

Can u paste the error log? what is the other ant version?

-T

On 8/8/07, Nauman Nasir < [EMAIL PROTECTED]> wrote:
hello guys!
   i want to install re5 on linux, i worked on red5 on windows but now
i want to use it in linux.... i am deploying it on linux for that i am
using

red5 1.6.5
jdk 1.4.0
ant 1.6.5

but when i use the the command "ant server &" it says cannot build file..
errors on line 150 and 303..

then i changes the version of ant, but now i don't know how to remove
the old red5 and  paths of that version.....

please guide me through the whole process of installing and running
the demo applications of red5 on linux
--
*************************************************
The life is too short to Love.
  I donot know how people manage to hate
*************************************************
                             Ch. Nauman Bin Nasir

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org




--

*************************************************
The life is too short to Love.
  I donot know how people manage to hate
*************************************************
                             Ch. Nauman Bin Nasir

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to