Re: java interop help for beginner calling java class

2014-04-01 Thread bww00amd...@yahoo.com
ANother step further Thanks for the help.. I set up the diretory struc and can import the class. Now to get the call working. On Friday, March 28, 2014 10:12:08 AM UTC-5, bww00...@yahoo.com wrote: I have read so much i cant see the tree for the forest. and need some help calling the ocfLZW

Re: java interop help for beginner calling java class

2014-04-01 Thread bww00amd...@yahoo.com
So close!! i have a question about the called java class and access to the byte array from clojure upon return of the call to java the call to the method in the class has 2 args buffer in and buffer out. i confirmed that the data is in buf and nnnx contains the correct size of the

Re: java interop help for beginner calling java class

2014-03-29 Thread Chris Shellenbarger
Did you move it to the corresponding directory structure? So, com.example.mystuff would need a directory hierarchy like com/example/mystuff. The mystuff directory is where you need to put your java files that are in the com.example.mystuff package. -- You received this message because you

Re: java interop help for beginner calling java class

2014-03-29 Thread bww00amd...@yahoo.com
Thanks I did not set the hierarchy I will give that a whirl Regards Bryan On Saturday, March 29, 2014 1:07:40 PM UTC-5, Chris Shellenbarger wrote: Did you move it to the corresponding directory structure? So, com.example.mystuff would need a directory hierarchy like com/example/mystuff.

java interop help for beginner calling java class

2014-03-28 Thread bww00amd...@yahoo.com
I have read so much i cant see the tree for the forest. and need some help calling the ocfLZW class below from clojure. THANKS for the help using eclipse and counterclockwise In clojure have the data to decompress read into an array. have an array allocated to hold the decompresed data

Re: java interop help for beginner calling java class

2014-03-28 Thread Tassilo Horn
bww00amd...@yahoo.com bww00amd...@yahoo.com writes: I have read so much i cant see the tree for the forest. and need some help calling the ocfLZW class below from clojure. If that's really the complete class definition... /* */ public class OcfLZW /* */ { ... then you can't use it

Re: java interop help for beginner calling java class

2014-03-28 Thread bryan webb
Thanks the help is much appreciated  created file ocfLZWBW,java added package my.nice.lzw;   to the top of the file changed  /*     */ public class OcfLZW  to  /*     */ public class OcfLZWBW compiled ocfLZWBW.java to a class file of ocfLZWBW.class  (no errors) in eclipse added the