Hello,
I'm sorry to post this question here; but the MBS mailing lists are
awfully quiet. I tried to post this question there a couple of weeks
ago and didn't get a response. The archives don't seem to have been
updated since September.
Anyway...
I'm trying to use the MBS Java classes in my application and I'm
having some problems getting it working. I'm using RB2006r4 on
Windows XP Home. I have looked over the sample program and I'm
trying to emulate it in my application.
1. What directory does the Java environment start in? Root? The
application's directory?
2. Is there a way to see what java.class.path the Java environment is
actually looking at? I'm not sure I'm properly constructing my class
path when I invoke the environment.
3. For the classpath, do I have to pass the full path for my .jar
files? The full path has spaces in it, how can that be handled?
4. In the FindClass method, how do we specify a class from a .jar
file? The documentation suggests delimiting it with slashes - "com/
mystuff/myclass". Whereas the java convention seems to mandate dots
- "com.mystuff.myclass". Either way, I can't seem to find my class.
It could either be a problem with the FindClass method, or an
improper class path is set. I'm not sure how to debug which it is.
Thanks for any help!
Mark
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>