🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.java.machine
3 messages
3 total messages Started by uncle.scrooge Wed, 31 Mar 1999 00:00
FINDING CLASSES WHEN USING JAR FILES
#6
Author: uncle.scrooge
Date: Wed, 31 Mar 1999 00:00
22 lines
1511 bytes
I'm running Jbuilder 2.0 on NT 4.0.

I have  a .bat file that runs JRE with lots of jarfiles in the
classpath.
All jars and classes are found in the app and everything works
perfectly.

However, my network engineer tells me that the at startup, the java
client is generating lots of requests for files that don't exist on the
server,
of the form "\packagename\sub1\sub2\classname.class". All the classes
are classes which actually exist in the application, in the jar files.

He is concerned about these unncessary requests

It almost looks like the java runtime tries to find the class file on
the filesystem before looking in the jar files.

How can I prevent this???

thx
Re: FINDING CLASSES WHEN USING JAR FILES
#7
Author: Tor Iver Wilhelmsen
Date: Thu, 01 Apr 1999 00:00
7 lines
1059 bytes
"uncle.scrooge" <uncle.scrooge@worldnet.att.net> writes:

> It almost looks like the java runtime tries to find the class file on
> the filesystem before looking in the jar files.

If it looks for locale-specific resource files, there isn't much you
can do - but it should look in the JAR first.
Re: FINDING CLASSES WHEN USING JAR FILES
#5
Author: Tor Iver Wilhelmsen
Date: Sun, 11 Apr 1999 00:00
6 lines
1024 bytes
Al <al@outworld.org> writes:

> You could always use your own class loader...

You do not want to do that for applets; among other things, the applet
ClassLoader has access to the browser's cache.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads