From owner-freebsd-java Mon Jul 20 06:17:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA04383 for freebsd-java-outgoing; Mon, 20 Jul 1998 06:17:57 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from gatekeeper.charite.de (gatekeeper.charite.de [193.175.72.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA04376 for ; Mon, 20 Jul 1998 06:17:52 -0700 (PDT) (envelope-from uwp@ukrv.de) Received: by gatekeeper.charite.de; (5.65/1.1.8.2/17Oct95-0336PM) id AA14993; Mon, 20 Jul 1998 15:15:54 +0200 Received: from mailhost(193.175.66.33) by gatekeeper.charite.de via smap (V1.3-JSC) id sma003216; Mon Jul 20 15:15:45 1998 Received: from postamt1.charite.de by mailhost.charite.de (5.65v4.0/1.1.8.2/08Mar95-0213PM) id AA31183; Mon, 20 Jul 1998 15:15:45 +0200 Received: by postamt1.charite.de; (5.65/1.1.8.2/16Aug95-0231PM) id AA03135; Mon, 20 Jul 1998 15:15:44 +0200 From: Udo Wolter Message-Id: <9807201315.AA03135@postamt1.charite.de> Subject: Re: Java & VNC In-Reply-To: from Patrick Gardella at "Jul 20, 98 07:49:24 am" To: patrick@cre8tivegroup.com (Patrick Gardella) Date: Mon, 20 Jul 1998 15:15:44 +0200 (MET DST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I'm using the vnc-tool with which I'm able to get a Windows 95/NT Screen > > onto my X11-Display. The binary version works quite well, but I think > > the better solution would be to do it in a browser window. > > It is if you don't have the vncviewer availible. The browser version is slower. Do you have the java-version (class-file) ? Could you please email it to me ? > > I forgot to setup something ? Do I need to get the JDK from Sun ? > > You need to install the JDK for freebsd. It's in the ports collection, > /usr/ports/lang/jdk > > After that, it compiles fine. Hm, I got the following errors: make all ../jdk1.1.5/bin/javac -O vncviewer.java vncviewer.java:55: Class rfbProto not found in type declaration. rfbProto rfb; ^ vncviewer.java:63: Class optionsFrame not found in type declaration. optionsFrame options; ^ vncviewer.java:64: Class clipboardFrame not found in type declaration. clipboardFrame clipboard; ^ vncviewer.java:65: Class authenticationPanel not found in type declaration. authenticationPanel authenticator; ^ vncviewer.java:76: Class optionsFrame not found in type declaration. options = new optionsFrame(this); ^ Note: vncviewer.java uses a deprecated API. Recompile with "-deprecation" for details. 5 errors, 1 warning *** Error code 1 Stop. > Nevertheless, you still need to have the JDK installed (or in the case of > binaries, JRE), to run the compiled code. The Java Virtual Machine is what > runs the code. Ok, I even changed the Netscape Libraries but even now I can't run some of the demos in the browser. I took jdk1.1.5. Bye, Udo -- Udo Wolter, email: uwp@cs.tu-berlin.de !!! LOW-TECH Page: http://LOW-TECH.home.ml.org !!! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message