Question about classpath
Hi all, I have a question about how the class resources are found on Linux. I installed jdk117 v3, and when I run a test program, I see it referencing files in /usr/share/kaffe/Klasses.jar (which I did NOT install!). What is happening here? Can someone explain this too me? Thanks, Christian Christian Cryder Software Engineer - UHR Infrastructure REALM Information Technologies - http://www.realminfo.com Adventures in UHR - http://realm.granitepeaks.com Plugin Version Control for Java (PVCj 1.0) - http://www.pssg.com/pvcj "What a great time to be a geek" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: Something Special for Linux Developers on alphaWorks
But will it include the new IBM JVM? Christian Cryder Software Engineer - UHR Infrastructure REALM Information Technologies - http://www.realminfo.com Adventures in UHR - http://realm.granitepeaks.com Plugin Version Control for Java (PVCj 1.0) - http://www.pssg.com/pvcj "What a great time to be a geek" > -Original Message- > From: Alexander V. Konstantinou [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 10, 1999 9:57 AM > To: Michael Emmel > Cc: [EMAIL PROTECTED] > Subject: Re: Something Special for Linux Developers on alphaWorks > > > VISUALAGE FOR JAVA TECHNICAL PREVIEW FOR LINUX > == > http://www.software.ibm.com/ad/r/99enews6/linux/ > > You asked for it... you got it! In response to your overwhelming > enthusiasm for VisualAge for Java and your petition for a Linux > edition, we will offer a technical preview of VisualAge for Java, > Professional Edition for Linux. We'll be showing the technical > preview at the upcoming JavaOne conference and we'll be making > the technical preview available for download at VisualAge Developer > Domain. For more information, read this letter to the > developer community to find out what you can do to bring > about a general release of this product to the market. > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Debugging Java on Linux
Hi all, Can anyone offer any pointers on debugging on Linux? I'm coming from the NT / GUI Debugger world and am not real familiar with Sun's command line alternative. Basically, I'm looking for something can debug native and optionally has a nice gui. Suggestions? TIA, Christian ---- Christian Cryder Software Engineer - UHR Infrastructure REALM Information Technologies - http://www.realminfo.com Adventures in UHR - http://realm.granitepeaks.com Plugin Version Control for Java (PVCj 1.0) - http://www.pssg.com/pvcj "What a great time to be a geek" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Java in Embedded space
Hi all, I'm curious in investigating Embedded Java more fully, and I'm wondering if anyone knows of any mailing lists (or other resources) devoted to this arena. Has anyone here actually done anything in this space yet? What JVM's are available or suited for this task? Any pointers in the right direction would be really appreciated. Thanks much, Christian ---- Christian Cryder Software Engineer - UHR Infrastructure REALM Information Technologies - http://www.realminfo.com Adventures in UHR - http://realm.granitepeaks.com Plugin Version Control for Java (PVCj 1.0) - http://www.pssg.com/pvcj "What a great time to be a geek" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Question about mail attachments (HELP!)
Hi all,
Ok, this is more a question about Linux than about Java...apologies in
advance if this is not the best place to ask this question.
I'm finding that when I send attachments from an NT box to a fellow
developer on Linux, certain attachments are getting corrupted (see
snippet below...look for the =3D or =09 segments). The wierd thing is
that .java attachments go across fine, but .c attachments get mangled.
Can anyone suggest why this is? I suspect its just coincedence. Of course
that still doesn't explain why ANY of them get mangled. One coworker
thinks its because I'm sending from Windows, although other Linux
coworkers can read the attachments just fine through Netscape's mail.
Anyone have any ideas? Thanks...
Christian
>
> --=_NextPart_000_0059_01BED50F.60BFF090
> Content-Type: text/java;
> name="CToJavaTest.java"
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: attachment;
> filename="CToJavaTest.java"
>
> package test4;
>
> public class CToJavaTest {
>
> private int cntr =3D 1;
> private String var1 =3D "foo";
> private String var2 =3D "blah";
> =09
> public native void doTest(int val);
> =09
> public void setVar1 (String s) {
> var1 =3D s;=09
> }
>
> public void setVar2 (String s) {
> var2 =3D s;=09
> }
>
Christian Cryder
Software Engineer - UHR Infrastructure
REALM Information Technologies - http://www.realminfo.com
Adventures in UHR - http://realm.granitepeaks.com
Plugin Version Control for Java (PVCj 1.0) - http://www.pssg.com/pvcj
"What a great time to be a geek"
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Debugging Native code on Linux
Hi folks! This one is stumping me: Has anyone been able to debug JNI code on Linux? I am having absolutely zero success :-/ I've been trying to follow the debugging examples in Rob Gordon's Essential JNI, and can not get any of them to work (on either NT or Linux). He refers to dbx for Solaris...my install of Linux doesn't have this. Is this the equivalent of Sun's jdb??? If so, I've been able to run that and actually load/execute Java classes. The problem appears to be that its not finding the shared library files when it does a System.loadLibrary() call. The code works fine when I run it normally (ie. outside jdb). Suggestions? I feel like I'm really close and its bugging me :-) Oh to see into that little black box of native code... Christian -------- Christian Cryder Software Engineer - UHR Infrastructure REALM Information Technologies - http://www.realminfo.com Adventures in UHR - http://realm.granitepeaks.com Plugin Version Control for Java (PVCj 1.0) - http://www.pssg.com/pvcj "What a great time to be a geek" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Debugging Native code on Linux II
Hi folks. Thanks to all of you who have responded so far...I've made
excellent progress and am almost there. Here's the scoop...
1. I've made sure the library in question is in the $LD_LIBRARY_PATH, and
has
been renamed to libBlah_g.so... in my case, I'm creating
libTest5Native.so, and renaming it to libTest5Native_g.so and then
copying it into /usr/lib. The _g part is required because Java, when it
runs in debug mode, expects the library names to end with _g
2. I then 'export DEBUG_PROG=gdb'
3. and then run 'java' (I'm running against IBM's JDK for Linux, if that
matters)
This causes the GNU debugger to start, and places me at the command
line. Now...I think I'm very close. I want to set a break point in native
code. The problem is, the native code hasn't been loaded yet because we
haven't run the Java class which will turn around and call the
System.loadLibrary("NativeTest5").
So...what I need to do is set a breakpoint in the native java executable
which actually loads the libraries. Once my Test5Native library is
loaded,
the native source should then be accessible to the debugger and I can set
break points and debug it...right?
On Solaris, the name of the routine which handles this in the java_g.so
is called dlopen ... this method signature differes from platform to
platform. I don't know what it is on Linux. I used nm on IBM's java_g.so
and found a method which looks very similar: dlopen@@GLIB_2.1 I tried
stop dlopen@@GLIB_2.1
and then
run test5.Main
The program runs, but the breakpoint (when my DLL is loaded) is never
encountered, so I never get a chance to set a breakpoint for local code.
Can anyone help? I need to know what routine I should be breaking on. I
can also use the blackdown JDK if need be (I'd like to be able to use
both).
Any suggestions appreciated...
TIA,
Christian
Christian Cryder
Software Engineer - UHR Infrastructure
REALM Information Technologies - http://www.realminfo.com
Adventures in UHR - http://realm.granitepeaks.com
Plugin Version Control for Java (PVCj 1.0) - http://www.pssg.com/pvcj
"What a great time to be a geek"
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
