🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How can I execute a class file from a jar file directly?

#18396
From: Anthony Mak
Date: Thu, 25 Jun 1998 00:00
40 lines
1785 bytes
Thank you, Richard.

Richard Wilkman wrote in message <35914635.41D12DFF@inprise.com>...
>Anthony:
>
>Stick the jar on your classpath (i.e., classpath=c:\dev\lib\Image.jar)
>with the rest of the classes you need and you should be able to run it
>with java.exe.  Find the docs on the JRE from Javasoft for the more
>"proper" way.
>
>-Rich
>
>Anthony Mak wrote:
>>
>> I have a file called ImageViewer.class which is packed along with other
>> files in a Image.jar file.
>> Is there any way to tell the interpreter to execute the class file
directly?
>> For the moment, I have to do a jar xvf to uncompress the jar file and
then
>> do java on the class file.
>>
>> Anthony Mak
>> z2155678@student.unsw.edu.au
>
>--
>
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>Rich Wilkman
>Senior Quality Assurance Engineer
>Borland JBuilder Team
>
>If you see something that looks like an opinion up there,
>it's mine and mine alone.
>
>Mail sent to me from the newsgroups won't bounce but will
>be ignored.  If I have time, I'll respond, but you  have
>a better chance if you confine your posts to the newsgroups
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <6msnit$lr112@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6mqv5q$kn114@forums.borland.com> <35914635.41D12DFF@inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,4c46a10d925dddb
X-Google-Attributes: gidf74b3,public
From: "Anthony Mak" <z2155678@student.unsw.edu.au>
Subject: Re: How can I execute a class file from a jar file directly?
Date: 1998/06/25
Message-ID: <6msnit$lr112@forums.borland.com>
X-Deja-AN: 365877855
References: <6mqv5q$kn114@forums.borland.com> <35914635.41D12DFF@inprise.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language