New topic: 

Java MBS plugin and Snow Leopard

<http://forums.realsoftware.com/viewtopic.php?t=34362>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        relorenz          Post subject: Java MBS plugin and Snow 
LeopardPosted: Tue Jun 22, 2010 5:40 pm                         
Joined: Sat Aug 29, 2009 7:08 pm
Posts: 6                Im not a java programmer but i need to "Import" a java 
Class into a RB project.
Acording to the Class Example provided by MBS , my code is 


dim f as FolderItem=GetFolderItem(".../Javaxxx.jar")
vm=new JavaVMMBS(JNI_VERSION_1_4, options, f, false)..(also with Version 1_6) 

dim jclass as JavaClassMBS
jclass=vm.FindClass(ClassName Full pakage path)....

The JavVMMBS is correctly initialized, but the method FindClass always returns 
NIL. 
I compiled the Java Class with Eclipse and xcode also, using the organizer, 
since the example provided my MBS is deprecated in mac snow leopard (JAM is 
deprecated....)
I need to compile my rb project for Mac OS AND Windows, so Eclipse should be 
fine 


I can't find any tutorials from MBS but the database tutorial, any suggestions?
Lorenzo   
                             Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to