It's an applet, not an app.  It's designed to be served up by the
embedded web server in Xvnc.  Try editing the "vncserver" script and
point $vncClasses to the directory in which you built the Java viewer.
Then launch vncserver and point your web browser to:

http://{vnc server machine}:{5800+n}

where n is the display number of the VNC server, e.g.

http://myvncserver:5801

Ruben Kerkhof wrote:
> On Wed, Mar 3, 2010 at 01:40, DRC <dcomman...@users.sourceforge.net> wrote:
>> Ruben Kerkhof wrote:
>>>> I'm afraid the Java stuff isn't properly maintained as it is, so adding
>>>> another build system is not really interesting unless it comes with a
>>>> maintainer for it. If you feel up for that, then by all means. :)
>>> Ok, I understand.
>>> I'll have a look at fixing the Makefile first. To get it working it
>>> has to move 2 directories up at least.
>>>
>>>> Otherwise it's better to try and fix the system we've got. You seem to
>>>> have some grasp on what's broken, so perhaps you could do a patch for
>>>> that?
>>> I'll see what I can come up with in a few days.
>> The Java viewer in SVN trunk works fine for me.  It needs tweaking to
>> implement some of the new "Tiger" features, but I can make it build and
>> run on RedHat 4 with no issues.
>>
> 
> It does build, fine, that's not the issue. But when I run it, I get:
> 
> [ru...@slice vncviewer]$ pwd
> /home/ruben/src/tigervnc/java/src/com/tigervnc/vncviewer
> [ru...@slice vncviewer]$ java -jar VncViewer.jar
> Exception in thread "main" java.lang.NoClassDefFoundError: VncViewer
> (wrong name: com/tigervnc/vncviewer/VncViewer)
>       at java.lang.ClassLoader.defineClass1(Native Method)
>       at java.lang.ClassLoader.defineClass(ClassLoader.java:632)
>       at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>       at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
>       at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
>       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
> Could not find the main class: VncViewer. Program will exit.
> 
> Ruben
> 
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Tigervnc-devel mailing list
> Tigervnc-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to