Find the answer to your Linux question:
Results 1 to 3 of 3
Hello, I'm currently trying to install Red5 which requires "java - jdk and sdk". This is a CentOS server. root@frooler [~]# sh /root/red5/red5.sh Starting Red5... /usr/bin/java: line 67: /tmp/javaI31264: Permission ...
  1. #1
    RAH
    RAH is offline
    Just Joined!
    Join Date
    Jun 2008
    Posts
    31

    Question Java

    Hello,

    I'm currently trying to install Red5 which requires "java - jdk and sdk". This is a CentOS server.

    root@frooler [~]# sh /root/red5/red5.sh
    Starting Red5...
    /usr/bin/java: line 67: /tmp/javaI31264: Permission denied
    /usr/bin/java: line 67: /tmp/javaI31264: Success

    root@frooler [~]# java -version
    java version "1.4.2"
    gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-9)
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


    Is something missing and if so what is the easiest way of installing it?

    Thanks.

  2. #2
    Just Joined! squirm's Avatar
    Join Date
    Jul 2008
    Location
    canad-eh
    Posts
    10
    I have no idea. But I did google for ya and found this HowTos/JavaOnCentOS - CentOS Wiki looks like it could be helpful. hopefully.

  3. #3
    RAH
    RAH is offline
    Just Joined!
    Join Date
    Jun 2008
    Posts
    31
    OK, I got it installed and corrected the temp permision error. Now having the following issue:

    root@frooler [~]# sh /root/red5/red5.sh
    Starting Red5...
    Exception in thread "main" java.lang.NoClassDefFoundError: org.red5.server.Standalone
    at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
    at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
    at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
    at __gcj_personality_v0 (/root/java.version=1.4.2)
    at __libc_start_main (/lib/tls/libc-2.3.4.so)
    at _Jv_RegisterClasses (/root/java.version=1.4.2)


    Any ideas? Have read it's something to do with the Java class path.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...