Code:
-bash-3.2# ./red5.sh
Starting Red5...
Exception in thread "main" java.lang.OutOfMemoryError
at java.util.zip.Inflater.init(Native Method)
at java.util.zip.Inflater.<init>(Inflater.java:81)
at java.util.zip.ZipFile.getInflater(ZipFile.java:267)
at java.util.zip.ZipFile.getInputStream(ZipFile.java:212)
at java.util.zip.ZipFile.getInputStream(ZipFile.java:180)
at java.util.jar.JarFile.hasClassPathAttribute(JarFile.java:463)
at java.util.jar.JavaUtilJarAccessImpl.jarFileHasClassPathAttribute(JavaUtilJarAccessImpl.java:15)
at sun.misc.URLClassPath$JarLoader.getClassPath(URLClassPath.java:899)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:300)
at sun.misc.URLClassPath.getResource(URLClassPath.java:167)
at java.net.URLClassLoader$1.run(URLClassLoader.java:192)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at org.red5.server.Standalone.<clinit>(Standalone.java:43)
Java HotSpot(TM) Client VM warning: Attempt to deallocate stack guard pages failed.
Java HotSpot(TM) Client VM warning: Attempt to deallocate stack guard pages failed.
#
# An unexpected error has been detected by Java Runtime Environment:
#
# java.lang.OutOfMemoryError: requested 81928 bytes for Chunk::new. Out of swap space?
#
# Internal Error (allocation.cpp:218), pid=5347, tid=2911304592
# Error: Chunk::new
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode linux-x86)
# An error report file with more information is saved as:
# /usr/local/red/hs_err_pid5347.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted
I do not understand what it is that I am doing wrong.
I have read and read and re-read lots of guides and followed them to the 't' and all I get is 'computer says NO'.
grrrrr
Is there a simple app that utilizes java so I can test to see if it is java or red5?
Java seems easy to install, I added the jpackage-utlis also and ant-apache seems to install fine too, but I get squat to work.
Edit:
Maybe I am not using the correct distro's of java, jpackages, ant-apache, red5.
If you have red5 running, anyone which packages do you have installed plz?