how did you install java?
the best way to install java on ubuntu is:
1) add the following line to /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu edgy multiverse
where edgy might be breezy or other, depending on your ubuntu flavor.
2) update your repositories:
sudo apt-get update
3) install java jre/jdk:
sudo apt-get install sun-java5-bin (for jre) OR:
sudo apt-get install sun-java5-jdk (for jdk)
4) update the system to use sun's java instead of gcc's java:
sudo update-java-alternatives -s java-1.5.0-sun
5) edit the file /etc/jvm and move the line
/usr/lib/jvm/java-1.5.0-sun
to the top
6) if eclipse is installed, edit the file /etc/eclipse/java_home and add the line
/usr/lib/jvm/java-1.5.0-sun
to the top
the best way to install java on ubuntu is:
1) add the following line to /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu edgy multiverse
where edgy might be breezy or other, depending on your ubuntu flavor.
2) update your repositories:
sudo apt-get update
3) install java jre/jdk:
sudo apt-get install sun-java5-bin (for jre) OR:
sudo apt-get install sun-java5-jdk (for jdk)
4) update the system to use sun's java instead of gcc's java:
sudo update-java-alternatives -s java-1.5.0-sun
5) edit the file /etc/jvm and move the line
/usr/lib/jvm/java-1.5.0-sun
to the top
6) if eclipse is installed, edit the file /etc/eclipse/java_home and add the line
/usr/lib/jvm/java-1.5.0-sun
to the top
----- Original Message ----
From: Mike Lyda <[EMAIL PROTECTED]>
To: [email protected]
Sent: Friday, November 10, 2006 6:16:11 AM
Subject: [Red5] help with Red5 on ubuntu
I need a little help with getting Red5 going on an ubuntu system. I've
apparently got the Java install all monkeyed up...
my-server:/usr/lib/red5$ java -version
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)
my-server:/usr/lib/red5$ sh red5.sh &
[1] 11552
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.
my-server:/usr/lib/red5$ ./red5.sh &
[2] 11555
[1] Exit 2 sh red5.sh
my-server:/usr/lib/red5$ Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
From: Mike Lyda <[EMAIL PROTECTED]>
To: [email protected]
Sent: Friday, November 10, 2006 6:16:11 AM
Subject: [Red5] help with Red5 on ubuntu
I need a little help with getting Red5 going on an ubuntu system. I've
apparently got the Java install all monkeyed up...
my-server:/usr/lib/red5$ java -version
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)
my-server:/usr/lib/red5$ sh red5.sh &
[1] 11552
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.
my-server:/usr/lib/red5$ ./red5.sh &
[2] 11555
[1] Exit 2 sh red5.sh
my-server:/usr/lib/red5$ Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.
_______________________________________________
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
