[AG-TECH] ScreenStreamer error

Andrew Rowley Andrew.Rowley at manchester.ac.uk
Tue Jun 7 04:41:42 CDT 2005


Hi,

I have just done some experimenting and have found the solution.

Firstly, you need to set some environment variables as described in:
http://java.sun.com/products/java-media/jmf/2.1.1/setup-linux.html

You absolutely need the JMFHOME and LD_LIBRARY_PATH variables and these must
be set so that they can be read by the browser used to launch
ScreenStreamer.  The CLASSPATH variable appears to be unimportant.

Second, you need to copy/link jmf.jar to the ext directory of the JRE that
you are using to run ScreenStreamer.  This will depend on where you
installed Java 1.5 and if you installed the JRE or the JDK.  For example, I
installed Java JDK in /usr/java/jdk1.5.0_01/ and JMF in
/usr/java/JMF-2.1.1e.  I therefore had to copy/link
/usr/java/JMF-2.1.1e/lib/jmf.jar to /usr/java/jdk1.5.0_01/jre/lib/ext/.

Third, you need to make sure that your browser launches the correct version
of Java.  When I was using Mozilla, it prompted me for an application to
open the application/x-java-jnlp-file.  I chose
/usr/java/jdk1.5.0_01/bin/javaws.  This therefore uses java version 1.5.  If
you have installed java previously, and are not given this prompt, you may
need to go to "Edit"-->"Preferences" then select "Helper Applications" from
the "Navigator" list, then select "application/x-java-jnlp-file" and select
"Edit".  From here, you can change the application used to open the jnlp
file.

Let me know if you have any more problems with this.

Andrew :)

============================================
Access Grid Support Centre,
RSS Group,
Manchester Computing,
Kilburn Building,
University of Manchester,
Oxford Road,
Manchester, 
M13 9PL, 
UK
Tel: +44(0)161-275 0685
Email: Andrew.Rowley at manchester.ac.uk 

> -----Original Message-----
> From: owner-ag-tech at mcs.anl.gov [mailto:owner-ag-tech at mcs.anl.gov] On
> Behalf Of Andrew Rowley
> Sent: 06 June 2005 17:00
> To: 'Natalia Costas Lago'; 'ag-tech'
> Subject: RE: [AG-TECH] ScreenStreamer error
> 
> Hi,
> 
> It looks like Java Media Framework is not installed, or is not in the
> classpath of the Java Runtime Environment you are using to launch this.
> Check that the file jmf.jar is in your Java classpath - particularly note
> that there can be more than one JRE installed - you want the one that is
> run
> by the browser that is launching the code.  I *think* this can be done by
> copying the jmf.jar file to the java lib directory.
> 
> I will do some experimenting and get back to you.  Let me know if you get
> it
> working before this.
> 
> Andrew :)
> 
> ============================================
> Access Grid Support Centre,
> RSS Group,
> Manchester Computing,
> Kilburn Building,
> University of Manchester,
> Oxford Road,
> Manchester,
> M13 9PL,
> UK
> Tel: +44(0)161-275 0685
> Email: Andrew.Rowley at manchester.ac.uk
> 
> > -----Original Message-----
> > From: owner-ag-tech at mcs.anl.gov [mailto:owner-ag-tech at mcs.anl.gov] On
> > Behalf Of Natalia Costas Lago
> > Sent: 06 June 2005 16:19
> > To: ag-tech
> > Subject: [AG-TECH] ScreenStreamer error
> >
> >
> >
> > Running the ScreenStreamer under linux (Fedora Core 2) I got this error:
> >
> > * "General" tab:
> >
> >  "An error occurred while launching/running the application.
> >
> >  Title: Memetic ScreenStreamer
> >  Vendor: Memetic
> >  Category: Unexpected Error
> >
> >  Unexpected exception: java.lang.Exception"
> >
> > * "Launch file" tab:
> >
> >  <jnlp spec="1.0+"
> > codebase="http://memetic-vre.net/software/ScreenStreamer">
> >          <information>
> >              <title>Memetic ScreenStreamer</title>
> >              <vendor>Memetic</vendor>
> >              <homepage href=""/>
> >              <description>Memetic ScreenStreamer</description>
> >              <description kind="short">A tool for sharing your
> >  screen</description>
> >              <offline-allowed/>
> >          </information>
> >          <security>
> >              <all-permissions/>
> >          </security>
> >          <resources>
> >              <j2se version="1.5.0+"/>
> >              <jar href="ScreenStreamer.jar"/>
> >          </resources>
> >          <application-desc main-class="ScreenStreamer">
> >              <argument>239.194.200.200/1234/127</argument>
> >          </application-desc>
> >          </jnlp>
> >
> > * "Exception" tab:
> >
> >  java.lang.Exception
> >  at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
> >  at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
> >  at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
> >  at com.sun.javaws.Launcher.run(Unknown Source)
> >  at java.lang.Thread.run(Unknown Source)
> >
> >
> > Any hint about the problem??
> >
> > -----------------------------------
> > Natalia Costas Lago
> > email: natalia at cesga.es
> >
> > Centro de Supercomputacion de Galicia (CESGA)
> > Avenida de Vigo, s/n Campus Sur
> > 15706 Santiago de Compostela - SPAIN
> > Tel:   +34  981 56 98 10
> > Fax:  +34  981 59 46 16
> > http://www.cesga.es/
> >
> 
> 





More information about the ag-tech mailing list