Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Problem os x

Post Reply
sepp
Posts: 6
Joined: 2004-06-28 18:19

Problem os x

Post by sepp »

I want to start the java version on my mac powerbook
i downloaded all files form SF and put them in a dir called uvnc
i also downloaded the actual vncviewer.jar and vncviewer.class from a installed rc 20.2 version and put this also in the same dir.
When I want to start the application with:
"java VncViewer HOST 192.168.1.27 PORT 5900" or with
"java -cp /uvnc VncViewer HOST 192.168.1.27 PORT 5900"

there is always an error:
"Exception in thread "main" java.lang.NoClassDefFoundError: FTPFrame"

I can start version 1.18a of the javaviewer without problem also the tightvnc java version 1.3dev6.

Also I can start the viewer right in a browser Camino or Firefox (Java enabled) http://192.168.1.27:5800
i can use the applicatino but first it always have to be downloaded and the refresh isn`t as good then without the browser.


Other question:
(nearly no knowledge in java but some in C)

when i want to compile on the mac:
make all in the current dir i get


make all
output
------------
javac -O VncViewer.java RfbProto.java AuthPanel.java VncCanvas.java OptionsFrame.java ClipboardFrame.java ButtonPanel.java DesCipher.java RecordingFrame.java SessionRecorder.java
./FTPFrame.java:6: 'class' or 'interface' expected
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN"
^
./FTPFrame.java:9: illegal character: \64
by Greg Stein -- mailto:gstein@lyra.org -->
^
./FTPFrame.java:22: 'class' or 'interface' expected
tail = now.getTime();
^
./FTPFrame.java:23: 'class' or 'interface' expected
document.write("<IMG SRC='http://images-aud.sourceforge.net/pc.gif?l,");
^
./FTPFrame.java:24: 'class' or 'interface' expected
document.write(tail);
^
./FTPFrame.java:25: 'class' or 'interface' expected
document.write("' WIDTH=1 HEIGHT=1 BORDER=0>");
^
./FTPFrame.java:27: 'class' or 'interface' expected
</SCRIPT>
^
./FTPFrame.java:34: <identifier> expected
<div class="vc_navheader">
^
./FTPFrame.java:40: '{' expected
&nbsp;
^
./FTPFrame.java:42: illegal start of type
</td>
^
./FTPFrame.java:265: <identifier> expected
^
VncViewer.java:86: cannot access FTPFrame
bad class file: ./FTPFrame.java
file does not contain class FTPFrame
Please remove or make sure it appears in the correct subdirectory of the classpath.
FTPFrame ftp; // KMC: FTP Frame declaration
^
12 errors
make: *** [VncViewer.class] Error 1
--------------

server xp prof sp2 german
viewer java os x 10.3 JAVA (build 1.4.2_05-141.4)

Thanks for help :-D
Last edited by sepp on 2005-03-17 10:51, edited 1 time in total.
ipsec
Former moderator
Former moderator
Posts: 565
Joined: 2004-09-20 18:56
Contact:

Post by ipsec »

im not sure if the devs even intended someone to run the java code outside of a browser..

Since you say it works with the browser this is what they have intended, but maybe they can help you with your more specific issue... but I think that what is occuring is what they want it to be doing..?

Maybe...
sepp
Posts: 6
Joined: 2004-06-28 18:19

Java problem

Post by sepp »

I want to use the app. outside a browser:

1. No extra download of the viewer every session
2. I want to specify the options (is it possible in the browser mode?)
3. More Screenspace (no Broswsermenues)
4. the Screerefresh seems faster

Thanx :D
Post Reply