Re: JDK and JDK

1996-11-20 Thread Stephen Pitts
Why didn't you use the available netscape and jdk packages? Just
pick up jdk-static, jdk-common, and netscape from non-free and try
again. That's what I did and it works beautifully!
-- 
Stephen Pitts   [EMAIL PROTECTED]
Proudly running Debian GNU/Linux 1.1 on an Intel Pentium 150
Send a message with Send PGP Key in the subject to get my PGP key.
Visit http://www.onekey.com for OneKey: The Smart Search Engine!


pgpt2p8961m4B.pgp
Description: PGP signature


Re: JDK and JDK

1996-11-20 Thread Brian C. White
 Why didn't you use the available netscape and jdk packages? Just
 pick up jdk-static, jdk-common, and netscape from non-free and try
 again. That's what I did and it works beautifully!

Netscape is actually in contrib.  If you're using the new libc5 and
want to use Java, you'll have to wait for v3.01 to make it out of the
Incoming directory.
 
  Brian
 ( [EMAIL PROTECTED] )
 
---
 measure with micrometer, mark with chalk, cut with axe, hope like hell


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: JDK and JDK

1996-11-19 Thread Fabien Ninoles
-BEGIN PGP SIGNED MESSAGE-

On Mon, 21 Oct 1996, kazem wrote:

 Date: Mon, 21 Oct 1996 01:11:42 -0700
 From: kazem [EMAIL PROTECTED]
 To: debian-user@lists.debian.org
 Subject: JDK and JDK
 Resent-Date: Mon, 21 Oct 1996 01:11:42 -0700
 Resent-From: debian-user@lists.debian.org
 
 
 
   Now i login my box like user toto
   cd Java/Class
   Here my code of Hello.java
   
   import java.applet.*;
   public class Hello
   {
   public static void main(String[] args)
   {
   System.out.println(Hello World!);
   }
   }
 
   javac Hello.java == Hello.class
   java Hello == Hello World!
 
   
   HTML
   HEAD TITLE Hello World Program /TITLE /HEAD
   BODY 
   Here is out put 
   APPLET CODE=Hello.class WIDTH=150 HEIGHT=25 /APPLET /BODY
   /HTML
 

Your problem is not in the distribution... is with your coding...
T o run a java applet, you must start with an Applet class as explain in
the Java doc... What's you make is a Java application who can only be run
with the java vm (known as java).

- ---
 Mind can make Paradise with Hell, and Hell with Paradise.
-- J.Milton [not exactly cited]
- ---
Fabien Ninoles aka Baffouille   || Running Debian-Linux
[EMAIL PROTECTED]|| Lover of MOO, mountains, 
http://www-edu.gel.usherb.ca/ninf01 || poetry and Freedom.
- ---

-BEGIN PGP SIGNATURE-
Version: 2.6.3i
Charset: noconv

iQCVAwUBMpIDLFX6fc7jcjhFAQHoxAQAyhevhP+c+Pzd4Cvb0j58ORDUxkX8Okf3
rEI9xEUg/eK00+Rb6YVFrVKG+0lmilP28xiOFK4NnPJ/chUq4a5cvg7yePx0N1jj
DCcA56IJ895Q8GX2SB0N6rAw76okTZd1xzlh5EVlhERW2fjadQul+vsHdaygrF4k
Qowc9g+ZTMA=
=c0wY
-END PGP SIGNATURE-

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


JDK and JDK

1996-11-18 Thread kazem

Hi,
I install JDK in my box(linux Debian1.1). Here waht i did 
step by step.

1:  netscape installation
cd /usr/local
tar xvzf netsape_3.tgz
cd /usr/local/netscape
mkdir java
mkdir java/classes
cp moz_30 java/classes
For all user cp /usr/local/netscape/moz_30 $USERHOME/.netscape

2:  java Installation
cd /usr/local
tar xvzf linux.jdk-1.0-try4.common.tar.gz
tar xvzf linux.jdk-1.0-try4.x86-shared-motif-bin.tar.gz

I check all library nedded with respect of 
http://java.blackdown.org/java-linux.html
In the end you can the out put of ldconfig

3:  Kernel Compilation
Kernel support for JAVA binaries(CONFIG_BINFMT_JAVA) [NEW] Y
make dep; make clean; make zImage
Verification de /etc/lilo.config
lilo
cd /usr/local/java/bin
cat java /proc/sys/kernel/java-interpreter
cat appletviewer /proc/sys/kernel/java-appletviewer

By now all semes to go wright.

Now i login my box like user toto
cd Java/Class
Here my code of Hello.java

import java.applet.*;
public class Hello
{
public static void main(String[] args)
{
System.out.println(Hello World!);
}
}

javac Hello.java == Hello.class
java Hello == Hello World!

Probleme is when i put class in my applet 

HTML
HEAD TITLE Hello World Program /TITLE /HEAD
BODY 
Here is out put 
APPLET CODE=Hello.class WIDTH=150 HEIGHT=25 /APPLET /BODY
/HTML

Here what is the netscape error
Applet can't start exception: java.lang.Class

What do i do with this problem

thank


ldconfig: version 1.7.14
/usr/local/lib:
/usr/lib/i486-linuxaout:
libdb.so.1 = libdb.so.1.85.1
/usr/X11R6/lib:
libforms.so.0.81 = libforms.so.0.81
libXpm.so.4 = libXpm.so.4.7
libXt.so.6 = libXt.so.6.0
libXmu.so.6 = libXmu.so.6.0
libXi.so.6 = libXi.so.6.0
libXext.so.6 = libXext.so.6.0
libXaw.so.6 = libXaw.so.6.0
libXIE.so.6 = libXIE.so.6.0
libX11.so.6 = libX11.so.6.0
libSM.so.6 = libSM.so.6.0
libPEX5.so.6 = libPEX5.so.6.0
libXtst.so.6 = libXtst.so.6.0
libICE.so.6 = libICE.so.6.0
/usr/X11R6/lib/Lib_Motif:
libXm.so.2 = libXm.so.2
/usr/lib:
libvga.so.1 = libvga.so.1.2.8
libvgagl.so.1 = libvgagl.so.1.2.8
libjpeg.so.6a = libjpeg.so.6a.0.0
libtk4.1.so.1 = libtk4.1.so.1
libtk4.0.so.1 = libtk4.0.so.1
libtcl7.5.so.1 = libtcl7.5.so.1
libtcl7.4.so.1 = libtcl7.4.so.1
libslang.so.0 = libslang.so.0.99.23
libg++.so.27 = libg++.so.27.1.0
libstdc++.so.27 = libstdc++.so.27.1.0
libproc.so.0.99 = libproc.so.0.99
libgdbm.so.1 = libgdbm.so.1.7.3
libdb.so.1 = libdb.so.1.85.2
libhistory.so.2.0 = libhistory.so.2.0
libpanel.so.3.0 = libpanel.so.3.0
libmenu.so.3.0 = libmenu.so.3.0
libform.so.3.0 = libform.so.3.0
libpthreads.so.1 = libpthreads.so.1.60.beta2
/lib:
libXm.so.2 = libXm.so.2.0.0
libMrm.so.2 = libMrm.so.2.0.0
libc.so.4 = libc.so.4.6.27
libcurses.so.0 = libcurses.so.0.1.2
librl.so.2 = librl.so.2.0.3
libm.so.4 = libm.so.4.6.27
libe2p.so.2 = libe2p.so.2.1
libext2fs.so.2 = libext2fs.so.2.0
libss.so.2 = libss.so.2.0
libcom_err.so.2 = libcom_err.so.2.0
libreadline.so.2.0 = libreadline.so.2.0
libncurses.so.3.0 = libncurses.so.3.0
libm.so.5 = libm.so.5.0.5
libc.so.5 = libc.so.5.2.18
libdl.so.1 = libdl.so.1.7.14

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]