Until yesterday I used Slackware 3.4. It came with Java
support. Now we have moved to RedHat5.0. What needs to be done, if
anything, to set it up for Java? Where can I get the latest JDK for
Linux?
Thanks
Steve Gee
[EMAIL PROTECTED]
rpm cannot be
installed
am I doing something wrong, do I need to update my rpm
package???
I am using RedHat5.0, and was working as root.
Thanks
Steve Gee
[EMAIL PROTECTED]
/getdocs?doc=Java-HOWTO&bold=jdk
--
when I type set everything listed is where it should
be.
Can anyone offer any tips on why my classes aren't being
found?
Steve Gee
[EMAIL PROTECTED]
manipulation of .java_wrapper
--I got my information from http://www.linuxnow.com/cgi-bin/getdocs?doc=Java-HOWTO&bold=jdk
--
when I type set everything listed is where it should
be.
Can anyone offer any tips on why my classes aren't being
found?
Steve Gee
[EMAIL PROTECTED]
spath
settings:
...
CLASSPATH=/usr/lib/jdk-1.1.5/lib/classes.zip
...
...
JAVA_HOME=/usr/lib/jdk-1.1.5
JDK_HOME=/usr/lib/jdk-1.1.5
...
...
all of these locations are correct...what else could it
be?
I have set java up on a number of platforms and
all of this appears to be correct...~shrug~...
Thanks
I would suspect that either you did a typo and actually typed:
java HelloWorld.java
or that your javac is linked to java by mistake. Good Luck!
-Steve
At 03:56 PM 5/23/98 +0200, Daniele Lugli wrote:
>I recently downloaded jdk1.1.5v7 and untarred it into /usr/jdk1.1.5.
>My CLASSPATH is
)? Any help is
appreciated
Steve Curry
new to Java so hopefully I'm just missing something small here.
Steve
bases
Thanks,
Steve Curry
I realize that there is not one answer to this question but I would like
some of you veteran java/linux developers to suggest what the optimal
directory structure and setup of the CLASSPATH variable is.
I am, frankly, a C++ programmer trying to learn java and I am
continually frustrated over the
e the
best!!
Steve
PS: I adjusted the README.linux to be much more clear on installation issues
and libc5 vs glibc issues. Let me (via the java-linux list) know what you
think.
lly required?
>
> I'm currently using 5.4.33. Does anybody know what's going to blow up if I
> continue with this version of the library?
You'll work as well as I do -- that's what I use, that's what 1.1.5v7 libc is
built with -- it works great for me!
Steve
kpointer=0xb7bc
>
> I'm running jdk1.1.3 on Debian Linux 1.3. The example can be found at
> http://java.sun.com/docs/books/tutorial/native1.1/implementing/declare.html
What happens if you use the debug version of the java interpreter (java_g)?
Steve
Gernot Koller writes:
>
> The most obvious type is in line 46:
>
> dialog.plain.0=-b&h-lucida sans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
> ^
Duh! Cool -- I've fixed this now. Thanks!
Steve
gt;
> Anything else I can do to pin this down? I'll try to see if I can
> catch out the same bug in java_g, but since it's notdeterministic it's
> hard to reproduce.
>
Look in the README.linux. There's an environment variable called DO_NOT_FREE
or something similar. Turn it on. Do you still get crashes?
Steve
bet it would work, and would
give you what you want.
Steve
Stephen Wynne writes:
> In message <[EMAIL PROTECTED]>, Karl
> Pfleger writes:
>
> So maybe I'm being completely clueless here, but aren't there some
> instructions somewhere on how to do the installation of Steve
> Byrne's port?
>
&
K.R. Foley writes:
> Steve wrote:
>
> > I need some help configuring my classpath.I can javac on file it
> > works fine ie:javac hello.javathis creates the .class file. Then when
> > I try and runjava hellothe error I get is:can't find class helloI can
> &
e existing AWT
drawing primitives so that the effort to achieve the first milestone doesn't
have to be quite so large. I'd also suggest looking at BISS-AWT -- I think
it's not API compatible, but there may be bits of code that can be used for
your effort.
I think it would be an amazingly cool and good thing to have a GTK based AWT.
Steve
ng
>to
> try 1.1.5v7 as well as 1.1.6v1 shortly.
JDK 1.1.5 and 1.1.6 libc are built on a Debian 1.3.1 system -- no problems. My
libc is 5.4.33, and libdl.so is libdl.so.1 => libdl.so.1.8.12.
1.1.5v7 and 1.1.6v1 (still testing) include the right libc and libdl, so you
shouldn't need to pick up separate versions to run.
Steve
ur
test again?
>
> 5. Removing .../green_threads/libdl.so.1 (? this is from memory),
> and ../green_threads/libc.so.5 and rerunning ldconfig cleared
> up the problem.
Are you on a pure libc system or do you have glibc installed?
Steve
David B. Rees writes:
> On 29-May-98 Steve Byrne wrote:
> > >
> > > I just (more or less) confirmed that there seems to be a conflict
> > > problem between the stock jdk1.1.6v1-test and ld.so-1.9.9.
>
> I've also got this same pro
Kevin Hester writes:
> JavaSignals is a free library to allow Java programs to catch OS signals by
> registering SignalListeners. Source and binaries are included.
Way cool! I've been thinking that this is a missing piece of the Java puzzle.
Thanks!!
Steve
Toni Nikkanen writes:
>
> Is there a way to make scandinavic letters behave correctly in AWT
> components with Steve Byrne's Linux JDK 1.1.6-glibc? I have noticed that
> in a TextArea, whenever a call to TextArea.append() is done with a String
> containing scandinavic le
t is anoying.
> Thx
Fixed in v2 -- coming soon.
> Kevin Fitch
>
> ps I think that you are doing great wirk w/ this port. 1.1.6v1 combined
> w/ tya is just as fast as my regular apps!!
Cool! Thanks!
Steve
eport bugs to this list. I'd like to make this release official by
this middle of this week if at all possible.
Steve
Herald van der Breggen writes:
> Steve Byrne wrote:
>
> > [EMAIL PROTECTED] writes:
> > > Hi all,
> > >I am new to this list and looking forward to participate. I just
> > > installed the jdk1.1.6v1 this morning and the two problems I e
UNSUBSCRIBEd! Doing so just makes you look like a CLUELESS NEWBIE!
Send to [EMAIL PROTECTED] instead. I think this
information was sent to you when you subscribed, and I think it's available at
the java.blackdown.org web site if you'd take the time to look.
Steve
pendText()) -Method I always get a
> Segmentation Violation when i try to dispose the Dialog:
> SIGSEGV 11* segmentation violation
> (+ complete thread dump and core file)
> Any ideas ?
>
> (running JDK on Suse Linux 5.1)
Can you send a test program that demonstrates the problem?
Steve
Brad Giaccio writes:
> Now this may seem like a silly question but I didn't really see a firm
> answer in the FAQ so I'll ask. It seems that there are two different
> prots of jdk going on one by Steve Byrne's and the other by Sergey
> Nikitin.
Steve will often
; Thanks,
>
> Currently, FreeBuilder is in Version 0.7.1 and reportedly support
> JDK1.1.5 and Swing 1.0.1. I have tried it on Linux jdk1.1.5. However,
> it can not come up under Linux jdk1.1.6-v2_test.
Can you be more specific on how it fails to come up under v2-test?
Steve
nually most of SW , so I have pretty recent everything.
>
Works on v2 libc5. Perhaps there's something odd with your environment?
What version of libdl do you have?
Steve
problem. He's
using ld 1.9.9, which seems to have broken binary compatibility with earlier
versions of ld (like 1.9.6). I'm pretty sure that's the cause of the problem
reported by "glasner" (?) in the bug database.
Steve
re different -- there have been reports of people having a
completely working environment with 1.9.8 (as I recall) and things failing
immediately with 1.9.9. JDK is starting for you? Do simple AWT apps work?
Steve
DAVID BALAZIC writes:
> Steve Byrne <[EMAIL PROTECTED]> wrote :
>
> >DAVID BALAZIC writes:
> > > This might be a bug in JDK 1.1.6 v1 libc5 i386
> > >
> > > I crashes similarily with jdk 1.1.5 v7 libc5 i386
> > >
> &g
Joachim Schaaf wrote:
> Steve Cohen wrote:
> >
> > I am getting my feet wet with java-linux.
> > As a first step, I am simply copying code from the disk included with
> > the book
> > "Java for C/C++ Programmers" by Michael C. DaConta.
> > Th
Juergen Kreileder wrote:
> Steve Cohen <[EMAIL PROTECTED]> writes:
>
> > Joachim Schaaf wrote:
> >
> > > Steve Cohen wrote:
> > > >
> > > > I am getting my feet wet with java-linux.
> > > > As a first step, I am simply copyin
I am forwarding the following message for my colleague Norm Shapiro.
Steven C. Bankes, Ph.D.
Managing Partner
Evolving Logic Associates
3542 Greenfield Ave.
Los Angeles CA 90034
310-836-0958
[EMAIL PROTECTED]
[EMAIL PROTECTED] (Nelson Minar) writes:
>I'm still getting some occasional instab
I have been using SlickEdit (and its successor Visual Slick Edit) on DOS and
Windows platforms for almost 10 years. I swear by them. You can configure it to
just about any keystroke configuration you wish - vi, emacs, cua, your own
hybrid. Plus you get a lot of bells and whistles in it besides
e it works as it should, though.
> I guess there has to be something with appletviewer, since it
> works ok in NS.
In what way is the time wrong? Is it just the timezone, or does it show 2:43
when it's really 8:19?
Steve
Uncle George writes:
> it is most likely trying to run the "lp" as in ( i tyhink) "/usr/bin/lp"
> which doesnt exist there under redhat. u can symbolically link the lp's
> together.
That won't be enough -- the code uses the arguments that lp understands.
I fixed this in 1.1.6v2 -- I can't tel
RTFM (README.linux). Yes, X/AWT isn't required.
My apoologies (and thanks) to all who responded to my poorly formulated original
question in this thread. I was in a hurry to leave town for the weekend and did a
much worse job than I had thought, of framing the issue.
In the first place, the code fragment should have shown both paint methods a
tion in an older article,
http://www.javaworld.com/javaworld/jw-05-1998/jw-05-javadev.html
hope this helps,
Steve
Jim Watson wrote:
>
> Dear All,
>
> I know that this question isn't really related to java/Linux but I could do
> with a few pointe
u need to issue (to be
on the safe side, I think you could #define all system and c library
calls that you make to be the __ variant).
Steve
Günter Zell writes:
> Steve Byrne ,
>
> I got your e-mail address from a Linux-Usergroup.
> Iám looking for a JDK-Port for Linux.
> Can you give me a hint
> from where I can get one ?
www.blackdown.org
We're just about to release 1.1.6v4a...you might want to
om $JAVAHOME/lib/i686/green_threads/
Interesting! I had thought that ld.so.1.9.8 worked, and that 1.9.9 was a
regression, but this shows that that wasn't the case. Thanks for diagnosing
this and sharing your solution!
Steve
t hoping
> that someone on this list can definitively state that this assumption is
> correct.
We're distributing it for free, so no royalties are needed. The license *IS*
the one that Sun ships with JDKS -- we don't change that stuff when we do
ports.
Steve
Richard W.E. Furse writes:
> Just a note in case no one has told you for a while--the work you do is great.
On behalf of the porting team, Thanks!!! We're glad you like our work :-)
Steve
I've applied all of the Linux patches to the 1.1.6 source base. I'm
checking them in now to my CVS tree (thank heaven I got it back after
the disk crash) and I'm about to start my first build. Wish me luck!
Steve
it
properly to its java.awt.Panel?
curiously yours,
Steve
Peter C. Mehlitz wrote:
>
> No, it isn't (yet). There are certain "beyond-spec" incompatibilities
> (SwingGraphics delegation / inheritance, deprecated implementation methods
> etc.) which we don&
ld include java_g, and
it should be in your PATH, so that it can be found. Alternatively, (and
probably what you want to do anyway) is to set the ALT_BOOTDIR environment
variable to the directory containing your bootstrap JDK (the default is
/usr/local/java).
Steve
g. It's fixed in our development code, but that's waiting
on me to get the library version handling code tested. I bet you were
setting LINGER or REUSEADDR -- these got broken in v4a.
Steve
;t collect them.
> The pool must be able to "clean up" objects and so on...
Right. I've known projects that have done this and won big. Creating objects
is somewhat expensive because it's a synchronous operation, and synchronized
operations are slow in the 1.1 VM (1.2 uses a completely different and clever
trick to get the overhead of synchronization down into the noise).
Steve
program (java, javac,
etc), the LD_LIBRARY_PATH environment variable (which tells libdl where to find
additional shared libraries), gets set to include the
/lib/i386/green_threads directory, where libjava.so and libawt.so live,
and then the bin/i386/green_threads/java program (the actual executable) gets
run, so it can resolve references to things in libjava and libawt just fine.
Steve
checking
script work properly. The other changes (sockets, jni, some window manager
specific fixes) are in, and we're just waiting on me to finish my version
checking script.
> --jason
>
>
> On 28-Sep-98 Steve Byrne wrote:
> > Paul Reavis writes:
> > > My Vo
released, it can be up to 7 days before Sun processes
the paperwork to get the 1.1.7 source code, and then we have to reapply our
patches to it. It takes longer than it should, I'll grant you.
Steve
et presentations from time to time about things related to the VM,
and one of them talked about some of the improvements in 1.2. I think, though,
the new synchronization mechanism is public knowledge, but I'm not certain.
Steve
env var settings. Did you get the glibc
version of the JDK? That's the one that you want for RH 5.1.
Steve
ould build your own v5 (assuming we don't
encounter other problems in testing it).
Steve
Alexandre Boissy wrote:
> Steve Byrne wrote:
>
> > David Buddrige writes:
> > > Hi all,
> > >
> > > I have recently downloaded JDK 1.1.6 from
> > > ftp.progsoc.uts.edu.au/pub/Linux/java to run on my Redhat 5.1 system...
> > > I
Alexandre Boissy writes:
>
>
> Steve Byrne wrote:
>
> > David Buddrige writes:
> > > Hi all,
> > >
> > > I have recently downloaded JDK 1.1.6 from
> > > ftp.progsoc.uts.edu.au/pub/Linux/java to run on my Redhat 5.1 system...
have to keep the files on your ISP (the restrictive ISP from
Hell, if I remember right). No legal issues. If you want to package
things as an RPM and upload that too, that would be fine.
Steve
I have built an application and an applet using jdk 1.1.6 under linux
RedHat 5.0. Both the application and the applet (which use much of the
same code) compile and work under linux.
When I copy the class files to a Win95 system, they fail with
NoClassDefFoundError.
If, instead, I copy the .java f
The Glyph writes:
> Where can I retrieve a precompiled v4 version of the i386 port? I've not
> seen it on ANY of the mirrors, or the website. Only v2.
The mirror that has "tux.org" as part of the host name (it's in North America)
has a copy of v4a.
> --glyph
>
> On 1 Oct 1998, Juergen Kre
Sean Starkey wrote:
> On Wed, 30 Sep 1998, Steve Cohen wrote:
>
> > I have built an application and an applet using jdk 1.1.6 under linux
> > RedHat 5.0. Both the application and the applet (which use much of the
> > same code) compile and work under linux.
> >
Ross Golder wrote:
> Steve Cohen wrote:
> >
> > 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.
>
> You're not using a Microsoft Java VM (/compiler) ?
>
>
Ming-Ching Tiew wrote:
> Steve Cohen wrote:
> >
> > I have built an application and an applet using jdk 1.1.6 under linux
> > RedHat 5.0. Both the application and the applet (which use much of the
> > same code) compile and work under linux.
> > When I copy
", it means just
whatever the mailing list name is). In your case, you *should* have
mailed to
[EMAIL PROTECTED]
NOTE the -request in the mail address. Often just sending the word
"unsubscribe" (again, to be very clear, this is spelled u n s u b s c r i b e
no quotes or anything) in the body of the message is sufficient.
Go forth and sin no more.
Steve
Thanks to all who responded to my plea for help with the problem of not being
able to run class files generated under linux under Win95, while if the same
files were recompiled under Win95, they run fine.
However, most of your proposed solutions fall wide of the mark.
1) Classpath is irrelevant s
java/lib/i386/green_threads to some other name.
If your ld.so version is 1.9.6 or above (with the libc5 Linux JDK), you
should definitely do this.
I think the README.linux mentions this, doesn't it?
Steve
Rob Nugent wrote:
> Are you on JDK 1.1 on your Win95 Box ?
>
> Try doing a "java -version" on both platforms. If you are trying to run JDK1.1
> compiled code on JDK 1.0 that might cause problems.
>
> Rob
>
> --
>
> Rob Nugent
> Development Manager
> UniKix Technologies Europe
> [EMAIL PROTECTED]
Nelson Minar wrote:
> >However, most of your proposed solutions fall wide of the mark.
>
> Gee, so sorry. Again, there's no fundamental problem with Linux Java,
> the problem is something in your own environment.
I'm sure you're right. I was just trying to figure out what that was.
> >Now here
Steve Cohen wrote:
> Nelson Minar wrote:
>
> > >However, most of your proposed solutions fall wide of the mark.
> >
> > Gee, so sorry. Again, there's no fundamental problem with Linux Java,
> > the problem is something in your own environment.
>
>
lly have
sent them back as part of a bug report. When I was working there, I'd do what
I could to make the changes be part of the JDK.
Steve
M
> installed that may happen to use JAVA_HOME
Right. It's bad practice that can lead to myserious lossages down the road.
You don't need to set it, and in the future it may cause you to lose.
Steve
ithout X installed?
> Does anybode have an idea how to run a java app without X installed?
Aw, come on, man! RTFM! I covered this in great detail; you should take the
time to read it!
Steve
t of the
> audio file.
v5 will be out in a day or so. It fixes some problems with audio files. It
fixes behavior with window managers. It includes fixes for JNI behavior.
Please try it out and let us know if there are still any problems for you.
Steve
John Summerfield writes:
> On Tue, 6 Oct 1998, Steve Byrne wrote:
>
> >
> > Aw, come on, man! RTFM! I covered this in great detail; you should take the
>
> Well I for one don't know which frigging document you're talking about.
I guess README.lin
that you needed glibc JDK? The no such file or
directory often comes from the Linux dynamic linker (ld.so), trying to find
/lib/libc.so.6, and on systems which aren't glibc (aka libc6), it can't fnd it
yielding the same message that you're seeing.
Steve
ve us a quality product and support for FREE! They are certainly not
> asking too much when they expect us to read the README.linux file. If you
> want more support then pay for it - although I don't see how you could get
> more support about java-linux than we are fortunate enoug
Dan Kegel writes:
> Steve Byrne wrote:
> > John Summerfield writes:
> > > > Aw, come on, man! RTFM! I covered this in great detail; you should take the
> > > Well I for one don't know which frigging document you're talking about.
> > I gues
ape running? It's known to be a colormap hog.
Can you restart your X session (I mean log all the way out, not just
restart your windowmanager) and just run your Java program w/o starting a bunch
of other X applications? Does that help?
Steve
y to people who reported bugs (including some who sent in fixes as
well!)! We definitely use the bug tracking system on blackdown to keep track
of bugs that are reported, and I'd like to encourage everyone to take advantage
of this facility.
Steve
ate
portable programs that handle all kinds of different threading implementations;
HotJava is one such example that works on everything from Solaris green
threads, to NT (which is, in many ways, the most demanding because it uses
preemptive scheduling of threads, which means that a thread switch can occur at
*any* time, and not just during I/O).
Steve
u send me the location of diff file of JDK 1.1.3 for LINUX
> source code.
I think your best bet is to try looking at the mirrors for the 1.1.3
distribution; the diffs file should be found in or near the same directories.
I think many mirrors have 1.1.3 still on them.
Steve
#x27;s free, and
easy) and apply our patches to it; it's very likely that it will mostly build,
with just a little bit of architecture specific structures in the green threads
switching code (basically the differences between jmp_buf structures from
platform to platform).
Steve
zip
>
> You should also set JAVA_HOME to /where/ever/you/put/it/jdk116/ in the same
> fashion. That should fix it. Let me know if it doesn't.
Nope -- don't set JAVA_HOME. It most likely will *cause* the problems,
rather than rectify them.
Steve
This example code works fine on Solaris and Win95/NT:
import java.net.*;
import java.awt.*;
import java.awt.datatransfer.*;
import java.io.*;
import java.awt.event.*;
class clipboard extends Frame implements ClipboardOwner{
TextArea t1=new TextArea("Area 1...",20,20);
TextArea t
Peter Harris writes:
> The problem may be that a "feature" of Netscape is that reloading a page in
> Netscape does _not_ reload any associated applets.
>
> I think if you want to force it to reload applets you need to do something
> like hold down the control key (or something like that) whi
his approach is working fine under Linux. I know nothing about Widows
or Windows programming. I am concerned how portable this will be to Windows.
Steve Bankes
ser ID and password.
As in, are the Linux Java porting team full licensees of the
JDK 1.2 source and the Java Compatibility Kit? Yes.
Steve
pecific to linux, you can file them at
www.blackdown.org's bug database (yes, the porting team does read them -- we
just came up with a fix for bug #233).
Steve
ng great things through volunteerism.
> >
> > Baron Roberts Phone (650) 933-1653
Hey, Baron, didn't we use to work together in building 1? Or maybe
that new one that I think was called 14?
Steve
John Summerfield writes:
> On Fri, 23 Oct 1998, Steve Byrne wrote:
>
> > John Summerfield writes:
> > > On Fri, 23 Oct 1998, Baron Roberts wrote:
> > >
> > > >
> > > > Hi All,
> > > >
> > > > I just
spawned so that Java Runtime's Process destroy method will kill the extra
auxiliary Java program I launched.
I had to launch a separate Java application because an attempt to read from
System.in, hangs ALL threads.
So, my question is how can I do this so that it will work under Windows?
Steve Bankes
Warren Little writes:
> Hello,
> Was wondering if you folks had any plans to port the JDK to the
> StrongARM processor (such as CCC's NetWinder).
I don't think anyone with that processor has volunteered to help with the
porting yet.
Steve
They got my name wrong! Argh! I hate when
that happens :-)
Steve Byrne (no -S)
Keith T. Garner writes:
> Hey Steve (and the rest of the porters) I hate to ask this question again,
> if it was already asked once, though I didn't see it
>
> Not that you/we have the license from Sun, are you going to just start work
> on 1.2, or is a port of
Uncle George writes:
> gee fellas,
I've responded to "Uncle George" in private, as I don't feel that it serves
anyone's interest to hash this out in a public forum.
Steve
1 - 100 of 254 matches
Mail list logo