Re: "can't find class file java/lang/Thread"

1998-08-26 Thread Martin Little

My guess is this, you don't have your classpath set.

Make sure you have the following in your CLASSPATH environment
variable.

Path to the JDK classes.  Path to any external jar files you might use (ie
swing.jar)
Path to your development tree  (Ie for me it is the root of my jclass hierarchy)

Finally a . , to get classes with no package in your current directory.

IE, my classpath is usually somthing like
CLASSPATH="d:/sdk/jdk1.1.6/lib/classes.zip;d:/special/swing.jar;e:/mydevt;."

This will probably solve both of the problems you describe.

../Martin

Aaron Brick wrote:

> my JDK installation seems to be weird. i saw a previous post relevant to
> this problem in the archive but the responses i saw weren't helpful.
>
> when i do "java HelloWorld.class" it complains about not being able to
> find the class file - even if i pass the full path - until i do a
> "-classpath `pwd`", or its equivalent. is this normal behavior?
>
> then - this is the step i have not been able to solve - it complains about
> not being able to find a class file called "java/lang/Thread". well, i
> have tried a large number of things with the Thread.class file, including
> renaming it and putting its path in classpath, putting it in ad-hoc
> subdirs in the java/classes dir (where i'm trying all this), etc. i just
> can't get it to find the file.
>
> i mailed one member of this list and he told me to download some different
> classes.zip file - however, it didn't appear to be on the russian server
> he gave me. why the discrepancy, and what is the deal with this problem,
> anyone?
>
> i have:
>
> JDK 1.1.6v2, glibc, i386 on Debian 2.0 (2.0.34), libc6. i don't have my
> machine handy so i'm sorry i don't have the loader or X versions but i can
> certainly supply them later.
>
> i would say this problem is of fairly high severity because it prevents me
> from running any program at all! it may be that it is an isolated incident
> but i sure thought the install went fine and my system is not weirdly
> hacked or anything.
>
> thanks for your responses.
>
> aaron brick.
>



Can't find class etc etc etc.

1998-09-22 Thread Martin Little


After seeing many of these messages roll by day after day I was thinking
that perhaps we should create a mailing list faq of some sort that is
sent to people when they first subscribe answering these basic questions?

It's not that they are stupid questions, I think they are not well documented
areas of Java, I just think that we may reduce the S/N ratio if we were to
nail people with the answers before they ask the questions.

If anyone is interested in this I could probably whip up a quick
classpath/package use type thing.

Comments?

../Martin



Re: Write Once Run Anywhere?

1998-10-01 Thread Martin Little



Steve Cohen wrote:

> Sean Starkey wrote:
>
> > On Wed, 30 Sep 1998, Steve Cohen wrote:

> > >
> > > Why could this be happening?
> >
> > Did you check your CLASSPATH?  I compile things on Linux all the time
> > and run them in Win95.  I compile things on Digital Unix and run them
> > in Linux and Win95.  I compile things on Win95 and run them in Linux
> > and Digital Unix.  Get the idea?  :)
> >
> > Sean
>
> No, that's not it.  The classpath is right.  With the same classpath, under
> Win95, the copied CLASS files fail, but compiled source files work.

Just to eliminate any obvious problems.

You're not using a unix classpath under windows are you?

../Martin



Re: JDBC-ODBC bridge

1998-11-25 Thread Martin Little

I'm intrested in what you believe you can do with an ODBC bridge driver
that you can't do with a pure java driver?

../Martin

"Jens E. Wunderwald" wrote:

> Hi,
>
> I would like to use the JDBC-ODBC bridge under Linux, but could not find
> it included in the Blackdown JDK port. The bridge from Sun only runs
> under Solaris and Windows.
>
> Note that using a pure Java JDBC access to a database does not meet my
> demands.
>
> Ciao Jens



Re: DONT SEND ME ANYMORE STUFF!!!!!!!!!!!!!!!!!!!!!!!!!!!

1998-12-09 Thread Martin Little


Ok, this is getting way out of hand.  Someone is using this mailing list
to punish people who irritate them.

I tried sending mail to the person who is listed as the mailing list maintainer
and received no response so I'm going to publish the suggestion here.

The java-linux mailing list needs to have a confirmation stage in the
signup where the person has to respond to the subscription email
with a unique #.

This way we will hopefully cut down on these types of responses.

I already send OGHOPAR instructions on how to unsubscribe btw.

../Martin

[EMAIL PROTECTED] wrote:

> STOP SENDING ME JUNK MAIL!



Re: Yeah! Web based threaded messaging is best (WAS: Re:[ATTENTION]:Mailing List Changes)

1999-01-12 Thread Martin Little



Armen Yampolsky wrote:

> > Web based is the worst idea. I would much rather the messages continue
>
> > to fall into my mailbox or a newsgroup than I have to load up a
> > browser and go get them. If it moves to a web site, I won't move with
> > it.
>
> I agree absolutely. Slashdot? Reading the posts are a nightmare! It is a
> classic case of webifiying everything you possibly can, even though for
> years protocols and apps which evolved organically, out of necessity,
> have been around. Are email and news readers significantly less
> ubiquitous than the web browser?
>
> IMO, There are few applications which work well on the web. Most
> are completely unnatural. They are and feel contrived, a nightmare to
> use. Am I the only one that likens incessant web page reloading to
> running fingernails over a chalkboard, or rebooting some WinOS for no
> apparent reason?
>
> Cheers,
> -A.
>

I'd like to second (third?) my agreement on this issue, I have free internet
access
with a full T1 and I still HATE web based messaging.  I certainly don't follow
any sort of web based comments (Expecially slashdot, the minute it starts
nesting
comments I stop reading) because of the annoying load time clicking back and
forward
pages to try to follow etc.

../Martin



[email protected]

1999-01-18 Thread Martin Little

Because they fear Microsoft will use it as an excuse?

They know that Microsoft will sue them for infringing on their
look and feel.  Much the same as Apple would probably defend
the Mac L&F if Sun had not put the same restriction on that
Swing L&F.

There is a large difference between trying to prove that someone's
L&F resembles yours and saying, these people made a carbon copy
of our L&F and are letting people use it on other platforms.

Why would you want to use the windows L&F anyways. Sheesh, ugly.

Just my 2 cents.

../Martin

Moses DeJong wrote:

> This is total BS. Microsoft did not write any of the swing code so they
> are not in a position to "allow" anything. Sun wrote the code and now
> Sun will not let you use it on non windows systems because they fear
> Microsoft will just use it as an excuse to sue them. Where have you been
> the last couple of years? Microsoft will stop at nothing to slow down
> or kill java development because it is a threat to the bottom line. If
> people can write apps that run every where then why would they use
> window 95-98? Face it, this is just another example of how Microsoft
> is hurting cross platform java.
>
> On Mon, 18 Jan 1999, [iso-8859-1] Lothar Klaffenböck wrote:
>
> > Microsoft dosen't allow SUN to use the Windows-L&F on Solaris-Unix. Maybe
> > there is the same licence-problem on Linux. I suggest to use the Metal-L&F,
> > so the user can see it at the first look that this is a high quality
> > software.



Re: timezone

1999-01-25 Thread Martin Little

> It is not clear to me who is reading this message. But I hope you can
> help me with my question or give me a reference where I can find help.
>

*Obligatory bad dog message*
This isn't really a list for discussing general java programming.

>
> problem is that when I use the data command om the commandline
> (/bin/date) the date I see is corrent, but when I use in Java 'Data d =
> new Date()'. The reported time is one hour late. In Linux the CET is
> reported (I live in the Netherlands) as wanted but Java reports the UTC.
> How can I make my Java software report the localtime without making my
> code timezone depended (addind one hour is not a wanted solution) ?

Look at java.util.TimeZone.

../Martin



Re: Java-Linux mailing list weirdnesses

1999-03-15 Thread Martin Little



Nathan Meyers wrote:

> John Summerfield wrote:
> > > Perhaps this would be a good time to add a challenge-response mechanism
> > > to the subscription process -- an initial piece of mail requiring the
> > > subscriber to confirm the subscription.
> >
> > I hate that idea. better to set the list up properly so that mailing errors
> > go to the list manager, not to the list or its subscribers.
>
> Help me understand what's so offensive: I join a list, I get one piece
> of mail a few minutes later that I have to reply to, and that's it. It's
> certainly worked smoothly for me on other lists.
>
> How does a properly set up list fix this problem? AI logic to scan for
> key phrases in the complaint letters (such complaints do not always
> include the word "unsubscribe")? How does it intercept the reply sent
> personally to me (not the list) saying "please stop sending me mail"?
> Would it send this note to the list manager because I used the word
> "unsubscribe"?
>
> Nathan

I think there was a misunderstanding about the problem.

The problem isn't bad email addresses in the list, it's about some moron
who likes to subscribe people who irritate him/her to a bunch of high
traffic mailing lists like this one.
The people who are subscribed usually have no idea what a mailing
list is and just see it as unsolicited email/spam.
This is becoming more and more common in my experience and
the challenge/response system would get rid of it in a painless way.
The footer in the email messages seems to have made a major
dent in this problem, I think the challenge/response would kill it
entirely.

../Martin


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: a few issues with jdk1.2 pre release

1999-03-18 Thread Martin Little



Rachit Siamwalla wrote:

> Hi, I was playing around with the pre-release JDK 1.2 and it seems very
> well done. However, I had a few problems and was wondering whether
> others had similar problems (I looked at the bug report and none of
> these were on there). I haven't looked too deeply into these problems
> yet (but will soon and send a formal bug report to blackdown with some
> sample code). This app has been tested using Sun's JDK 1.2 on Windows
> NT40.
>
> 1. I use Exceed 6.0.1.0 (an NT X Client) to test my java app on Linux.
> However, when I start my java app, a JFrame pops up, but then hangs the
> entire X client. It looks like an Exceed problem at first, but then
> again this NEVER happens with other X applications on Exceed. The app
> loads normally if I am running X locally on the the machine. I was
> wondering whether other people have similar problems with other
> platforms / XClients.

I can duplicate your problem with Exceed.
When I try to run Swing apps it locks up the minute a window is formed,
if I use an AWT app it creates the window and starts drawing then locks.

This could be due to the new rendering system.  I know that alot of
stuff on solaris really dogs when running on remote X.

../Martin


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: go back to gzip!

1999-03-30 Thread Martin Little



Tucker Balch wrote:

> Don't get me wrong, I'm glad to have java-linux even if I have to
> download and install bzip2 to use it.  Still I think it's better
> to stick with more commonly available installation tools (and libraries
> and kernels for that matter).
>
> Is java-linux for kernel developers (100s of people) or the linux masses (millions)?
> I suppose Debian includes it, but RedHat 5.2 does not include bzip2, nor bzip2
> capable tar.
>
> --Tucker
>

The Redhat 5.2 disk I have certainly contains bzip2.  I'd suggest checking a little
harder before making that assumption :)

../Martin



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: HotSpot?

1999-04-28 Thread Martin Little



Paul Michael Reilly wrote:

>
> The announcement (http://www.javasoft.com/pr/1999/04/pr990427-01.html)
> says: "... The Java HotSpot performance engine will be available free
> of charge for download at
> http://java.sun.com/products/hotspot/index.htm"
>
> There are many references to HotSpot being a "server-side" solution.
> This pains me greatly because I think it means Swing performance is
> still slower than watching grass grow.  I hope someone can
> definitively say that Swing performance in particular (e.g. JTable) is
> greatly enhanced by HotSpot.  Otherwise, client-side Java is sucking
> seaweed, with no prospects in sight.
>
> -pmr
>

Well we've been getting the early access drops here for a while and it doesn't
seem
to improve swing performance noticably.

The best way to speed up alot of swing components is to instrument them and see
what kinds of usless operations it's doing and remove them.

In the case of JTable some people here have said that you can increase the
performance
by writing your own renderer that doesn't try to render everything and the
kitchen sink :)

../Martin


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]