🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #9

Can't run Java outside JBuilder

#9
From: Matthew Jones
Date: Wed, 23 Feb 2000 00:00
34 lines
1641 bytes
Hello,

I wonder if someone can please help me. I have recently been using
Jbuilder 2 but I can't get applications or applets to run outside it. I
followed the first 'Hello World' tutorial, but when I try and run the
HTML/applet, from Netscape 4.04, it says:-

    "Applet hello.Hello can't start: class hello/Hello got a security
violation: method verification error"

It doesn't work in IE5 either. It says:

    "load:hello.Hello can't be instantiated"


I then built the more complex 'Hello World' application in the second
tutorial, and used the Deployment Wizard to produce a Jar file. When I
try and run this from DOS it gives the error:-

    "UIDefaults.getUI() failed: no ComponentUI class for:
com.sun.java.swing.JButton[
,0,0,0x0,invalid,layout=com.sun.java.swing.OverlayLayout]"

The run command I used was:-

    jre -cp HelloWorld.jar hello/Hello


Any help much appreciated with these problems. Also, is it normal for
Jar files to be so big - the trivial mentioned above is 1 MB!

Thanks,

Matthew
Technical Details
Message-ID: <38B41372.B1F50C3B@misd.lon.ac.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,1a75d034a3a07f76,start
X-Google-Attributes: gidf74b3,public
X-Google-Thread: ff01d,1a75d034a3a07f76,start
X-Google-Attributes: gidff01d,public
From: Matthew Jones <m.jones@misd.lon.ac.uk>
Subject: Can't run Java outside JBuilder
Date: 2000/02/23
Message-ID: <38B41372.B1F50C3B@misd.lon.ac.uk>
X-Deja-AN: 588900738
Content-Transfer-Encoding: 7bit
Organization: MISD
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language,borland.public.jbuilder.applet-issues