Hi Craig,
No, you don't need to compile with -O to build a shared object. But you *do*
need to compile with -fpic to get position-independent code. Then use -shared
when loading the object, as you already do.
I have successfully built a number of shared objects using no other special
options (fo
In message
<[EMAIL PROTECTED]>,
Chetan Kumar writes:
Can any of [you] please point to a rigt site to download jdk1.1.5
and swing.
Chetan,
Sure. As Sorin Lingureanu <[EMAIL PROTECTED]> recently posted, you can
download these RPMs:
for RedHat 4.2:
ftp://ftp.redhat.com/pub
Has anyone adjusted fonts.properties under i18n for Chinese/Japanese/Korean
support on Linux/XFree86? For example, fonts.properties.ja looks like it's
still the Solaris/CDE version to me.
Thanks!
>>In article <[EMAIL PROTECTED]>, Craig E Rasmussen
><[EMAIL PROTECTED]> writes:
> I'm having trouble getting native calls to work. I'm using JDK-1.1.3
> and the simple HelloWorld example segfaults. My guess is that the
> problem is that I'm not creating the shared objects correctly. I'm
> us
Thanks to Stephen Wynne for helping me find the problem. There was a typo
in my Xaccel config file that made the server to miss of 75dpi fonts.
Under this circumstances any java programs that tried to use AWT would
crash. Fixing the path and thus adding more fonts fixed the problem.
Still, it shou
I'm having trouble getting native calls to work. I'm using JDK-1.1.3
and the simple HelloWorld example segfaults. My guess is that the
problem is that I'm not creating the shared objects correctly. I'm
using gcc with the -shared option to create an a.out file which I rename
to libhello.so. I t
I've had some serious problems with non-english characters in the linux-port of
jdk.
Characters like "ÅÄÖ" are not displayed in a text-field, except when
using Helvetica or Times Roman fonts.
This problem has been present in all versions of jdk1.1.5 and also in the new
trial version of jdk1.1.6.
A
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
> see the hello.class file!? Here is a listing of my current classpath
>>In article <000901bd9d19$bce8d280$4c28df80@sgee>, "Steve" <[EMAIL PROTECTED]>
>writes:
> I need some help configuring my classpath.
> I can javac on file it works fine ie:
> javac hello.java
> this creates the .class file. Then when I try and run
> java hello
> the error I get is:
> can't f
[complicated Java app with native code crashing in some OSes, not others]
>My first assumption is that I must have some strange memory bug in
>the C library.
It sure sounds that way.
>The thing that confuses this is that the C-only test programs run
>fine on all three OS's and the java clients
I need some help configuring my classpath.
I can javac on file it works fine ie:
javac hello.java
this creates the .class file. Then when I
try and run
java hello
the error I get is:
can't find class hello
I can see the hello.class file!?
Here is a listing of my current classpath
settin
Peter Schuller writes:
> Hi!
>
> In addition to JDK1.1.5v7, I wanted a fast JRE (for big stuff like HotJava),
> so I downloaded Kaffe (because it's JIT ability) and installed. However, kaffe
> always gives me:
>
> java.lang.NoSuchMethodError: initializeSystemClass
>
> when I try to ru
For the brave, foolhardy, etc. I've put a test version of
JDK 1.1.6 v1 into
http://www.blackdown.org/~sbb/1.1.6/v1-test
This seems to work reasonably well, although it's reported that KDE and
AfterStep are exhibiting problems with window positioning and possibly sizing.
Many thanks to the
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?
>
> Karl,
>
> Perhaps it is as easy as
Peter Schuller writes:
> Hi!
>
> In addition to JDK1.1.5v7, I wanted a fast JRE (for big stuff like HotJava),
> so I downloaded Kaffe (because it's JIT ability) and installed. However, kaffe
> always gives me:
>
...
Have you tried TYA with the Linux v7 JRE? I bet it would work, and woul
Hi,
I've got a really inexplicable problem with a java application I've been
developing under linux, but wish to run under linux, solaris and NT.
My systems are:
linux(debian1.3.1/kernel2.0.33/libc5.4.33) jdk1.1.3/gcc2.7.2.1
Solaris2.5.1/ultrasparcjdk1.1.5/gcc2.7.2.
> Java hello
> cant find class hello
See if your CLASSPATH includes ".".
--
Geoffrey S. Knauth http://world.std.com/~gsk
I finally have everything installed and the
javac command works fine, but when I try and run Java I get an
error:
/** dang autospell checker changed
this...it should read as follows /
java
hello
cant find class hello
I have checked my classpath and did a little
m
I finally have everything installed and the
javac command works fine, but when I try and run Java I get an
error:
Java
hello
cant find class hello
I have checked my classpath and did a little
manipulation of .java_wrapper
--I got my information from http://www.linuxnow.com/cgi-bin/getdo
Hello, I am sorry to disturb the developers with this question. I am
running Red hat 4.2 with kernel 2.0.30. Iwant to install jdk1.1.5 on my
linux. and swing as well. There are so many on the net that I am bit
confused. Can any of U please point to a rigt site to download jdk1.1.5
and swing
wi
I am new to RedHat and the rpm pagackaging
system so this question may be somewhat "newbi-ish"...
I just downloaded the latest glibc, libc and
jdk1.1.5v7. When I went to unpack them with the command:
rpm -i glibc-2_0_7-13_i386.rpm
I recieved the error:
error: glibc-2_0_7-13_i386.rpm cannot b
For everybody how wants to install jdk-1.1.5v7 rpm's for RedHat
distributions, I think that da good choice is to install jdk with rpm.
This packages can be found at:
for RedHat 4.2:
ftp://ftp.redhat.com/pub/contrib/i386/jdk-1.1.5-8.i386.rpm
for RedHat 5.0:
ftp://ftp.redhat.com/pub/contrib/hu
My recollection is that if you're using RedHat 5.0 you most probably
want to use the glibc version, and that if you're using RedHat 4.2 you
may still have to use the libc5 version. I believe the trend is to
move toward glibc.
--
Geoffrey S. Knauth http://world.std.com/
I've tried to install JDK 1.0.2 on my PC.
When using javac or appletviewer I get the message:
ltpc3% javac
Failed to locate native library in path:
/usr/lib
Aborting.
I've tried setting LD_LIBRARY_PATH to any combination of library
directories but always get the same message. What is th
In message <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes:
[1.1.5v7] does not work with the following error message (or
something very similar) when I try and compile a test class with
javac test.class:
Library path not set.
Patrick,
Hmm, I wonder where this is coming from.
I am running RedHat 5.0 and have downloaded the JDK from
ftp:ftp.uk.linux.org/pub/linux/java/JDK-1.1.5/i386/glibc/v7 which has been
located in /usr/local/jdk1.1.5/.
It does not work with the following error message (or something very similar)
when I try and compile a test class with javac test
With over 30,000 dentists nationwide we'll have one near you. For about $10.00
a month your family will save an average of 30-80% on all dental procedures.
Includes:
* Routine cleaning and polishing, fillings, root canals, crowns, dentures, braces.
* New sealants to prevent cavities.
* Cosmeti
Stephen Wynne writes:
Here's what I did. Your situation may be different enough so that
these exact steps won't work optimally for you.
And of course I forgot to mention downloading SBB's JDK 1.1.5v7 from
one of the mirrors located from http://www.blackdown.org/java-linux.html
In message <002b01bd8402$9e78a670$4c28df80@sgee>, "Steve" writes:
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?
Steve,
He
29 matches
Mail list logo