Syntax for running java viewer standalone under Windows?
Tristan Richardson
tjr "at" realvnc.com
Wed Sep 15 13:08:00 2004
Hi Shaun,
Certainly if you're using the Sun Java you can run the vncviewer.jar as
an "executable JAR file". It doesn't matter what directory it's in.
For example:
java -jar c:\javavnc\vncviewer.jar
You can add arguments just like with the native viewers, e.g.:
java -jar vncviewer.jar -shared
Giving a -h option will give a usage message. However I'm afraid there
is no -listen option at the moment. Also I don't know if this will work
with MS Java or not.
Cheers
Tristan
Brachmann Shaun wrote:
> Perhaps I was not clear in my first post.
>
> It is possible to run the java vncviewer outside of a web browser. I was
> wondering where I should place the vncviewer.jar file for easy access, as it
> does not exist in the normal \program files\realvnc directory structure.
>
> Also, is it possible to execute the java vncviewer (outside of a web
> browser) and give it a parameter such as "-listen"?
>
> Cheers,
>
> Shaun
>
>
>
> -----Original Message-----
> From: vnc-list-admin "at" realvnc.com [mailto:vnc-list-admin "at" realvnc.com] On
> Behalf Of rsmmail04-realvnc "at" yahoo.com
> Sent: Monday, September 13, 2004 4:19 PM
> To: VNC-List "at" realvnc.com
> Cc: Brachmann Shaun
> Subject: Re: Syntax for running java viewer standalone under Windows?
>
> I don't think there is a difference between Sun and MS JAVA as far as
> RealVNC goes. But I have only used it with the Sun Java client downloaded
> from Sun's website, on Win2k sytems.
> As for the "standalone" mode, I'm not sure what you mean. Perhaps you are a
> referring to "User Mode" as opposed to "Service Mode". In Service mode
> RealVNC loads as a service and thus is a available even before the machine
> is logged onto by a user. In User mode, RealVNC does not launch until a
> user clicks on the RealVNC application or a shortcut is put in the Registry
> RUN section or Programs \ Start Up section.
>
> Robert
>
> Brachmann Shaun <Shaun.Brachmann "at" kohler.com> wrote:
> I haven't been able to find the answer to this one. Where should the
> vncviewer.zip or .jar files be placed and what is the syntax for invoking
> it? Is there a big difference if using MS Java instead of SUN Java?
>
> Also, is it possible to launch it in "listen mode"?
>
> Cheers,
>
> Shaun
> _______________________________________________
> VNC-List mailing list
> VNC-List "at" realvnc.com
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
> _______________________________________________
> VNC-List mailing list
> VNC-List "at" realvnc.com
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list