Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2001 16:08:19 -0500
From:      "David M. Heller" <dheller1@rochester.rr.com>
To:        "Raymundo M. Vega" <RaymundoVega@home.com>, freebsd-questions@FreeBSD.org
Subject:   Re: Installing Java
Message-ID:  <3A6366C3.F7CED075@rochester.rr.com>
References:  <3A63586A.72E35D42@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Raymundo M. Vega" wrote:
> 
> I need help to install the port for java 1.2, I have installed the
> Blackdown linux JDK 1.2.2, but it only runs programs that are not
> using swing, if i do a simple program to display a message in its
> own window (an applet for instance) the program hangs and display
> the message:
> 
> Received signal: Quit
> Received signal: Quit
> Received signal: Quit
> Received signal: Quit
> 
> I am using FreeBSD 3.5.1 Java JDK 1.2.2 (Blackdown), X11R6 3.3.6,
> and the applet program is  one example of the Bruce Eckel book
> Thinking in Java:
> 
> //: c13:Applet1c.java
> // From 'Thinking in Java, 2nd ed.' by Bruce Eckel
> // www.BruceEckel.com. See copyright notice in CopyRight.txt.
> // An application and an applet.
> // <applet code=Applet1c width=100 height=50>
> // </applet>
> import javax.swing.*;
> import java.awt.*;
> import com.bruceeckel.swing.*;
> 
> public class Applet1c extends JApplet {
>   public void init() {
>     getContentPane().add(new JLabel("Applet!"));
>   }
>   // A main() for the application:
>   public static void main(String[] args) {
>     JApplet applet = new Applet1c();
>     JFrame frame = new JFrame("Applet1c");
>     // To close the application:
>     Console.setupClosing(frame);
>     frame.getContentPane().add(applet);
>     frame.setSize(100,50);
>     applet.init();
>     applet.start();
>     frame.setVisible(true);
>   }
> } ///:~
> 
> thank'x
> 
> raymundo
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


You need to look at the following web resource regarding getting Java
1.2 or 1.3 working on FreeBSD: http://www.freebsd.org/java
this info applies to all versions of Java greater then 1.1**

Dave


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A6366C3.F7CED075>