Do I read this right, BrailleBlaster has some classpath locations hard coded inside it? This sounds like a porting head ache. I am thinking of as an example what bother this might give a Linux distribution packager, where may be jars need to be placed in a specific location to fit with the distribution's standard, eg. jars in /usr/share/jar.
I would have thought all classpaths (unless using a custom classloader, but you might make that customisable from the command line) should be configured using the -cp option to the java command.
Michael Whapples On 01/02/11 04:39, John J. Boyer wrote:
Alex, There are no 32-bit and 64-bit jars except swt.jar All the others are pure Java. You can specify a classpath on the line that calls java. It will be added to the one that BrailleBlaster uses internally. I'll have more to say after I look at your mockup. John On Mon, Jan 31, 2011 at 08:23:07PM -0800, Alex Jurgensen wrote:Hi John, I don't wish to mix 32-bit and 64-bit native libraries. Can you pass in a class path and use it at the same time as the "lib" directory for storing Java jars? Any help with this would be greatly appreciated. Regards, Alex, On 2011-01-31, at 7:11 PM, John J. Boyer wrote:Java is supposed to be compile once, run anywhere. The jar files are platform-independent except for the swt.jar which includes native libraries. I'm not sure, but I think that if the native libraries are compiled for 32 bits they will work on 64 bits, with perhaps a small drop in performance. John On Mon, Jan 31, 2011 at 11:54:59AM -0800, Alex Jurgensen wrote:Hi John, Let me get something straight. There are different versions of the Jars found in the "lib" directory for 32-bit and 64-bit platforms, right? Regards, Alex, On 2011-01-31, at 11:44 AM, John J. Boyer wrote:You will have to change org.brailleblaster.BBIni.java Change nativeLibraryPath. If you moved the library with the jar files you will have to give a classpath Could you avoid this problem? Porting should be as simple as possible. John On Mon, Jan 31, 2011 at 11:12:36AM -0800, Alex Jurgensen wrote:Hi All, Whe I was building my latest edition of my Braille Blaster mock up, I moved the "lib" and "native" subdirectories. What do I need to pass in at the command-line to get BB to work again? Your help with this is greatly appreciated. Regards, Alex, Alex Jurgensen, VoiceOver Trainer, ASquared21@xxxxxxxxxxxxxxxxx Visit us on the web at: www.vipbc.org-- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities-- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities