New topic: 

Adding Java into a Desktop App?

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

         Page 1 of 1
   [ 4 posts ]                 Previous topic | Next topic          Author  
Message        kdemon          Post subject: Adding Java into a Desktop 
App?Posted: Sun Sep 02, 2012 8:49 am                                 
Joined: Tue Jan 19, 2010 2:01 pm
Posts: 10
Location: Earth                Is it possible to incorporate a Java App into a 
desktop application?  I have the Java Code, and it would be to time consuming 
to rewrite in RB.  Any suggestions?      
_________________
iMac 24" [ 2.8x2 - 320 - 4] MacBook Pro [ 2.6 - 250 - 4] Axiotron Modbook [2.4 
- 500 - 4] iPhone 4 [16] iPad [16]

"Knowing is not enough we must apply,
Willing is not enough we must do."
~ Bruce Lee  
                             Top                taylor-design          Post 
subject: Re: Adding Java into a Desktop App?Posted: Sun Sep 02, 2012 9:05 am    
                     
Joined: Wed Mar 22, 2006 11:15 am
Posts: 476
Location: Southern California                This might work: 
http://www.monkeybreadsoftware.net/plug ... ugin.shtml      
_________________
Daniel L. Taylor
Custom Controls for Real Studio WE!
Visit: http://www.webcustomcontrols.com/  
                             Top                swort          Post subject: 
Re: Adding Java into a Desktop App?Posted: Sun Sep 02, 2012 9:53 am             
            
Joined: Mon May 31, 2010 5:35 am
Posts: 2160
Location: Netherlands                if i remember well then you can use .jar 
class libraries with the MonkeyBreadSoftware plugins. (MBS)      
_________________
SWORT™
- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source 
plugins)
For Dutch User Groups ask me to enter!  
                             Top                npalardy          Post subject: 
Re: Adding Java into a Desktop App?Posted: Sun Sep 02, 2012 10:58 am            
           Real Software Engineer          
Joined: Sat Dec 24, 2005 8:18 pm
Posts: 7399
Location: Canada, Alberta, Near Red Deer                kdemon wrote:Is it 
possible to incorporate a Java App into a desktop application?  I have the Java 
Code, and it would be to time consuming to rewrite in RB.  Any suggestions?
Include the JAR file in your app's bundle (on OS X)
Or in a dir next to your app in Linux windows & start  it up using a shell 

But you'd first want to test if the user has Java installed before doing that.
Instead of sending out a JAR file you could turn that java code into a stand 
alone executable that you invoke the same way using one of the java to native 
compilers. Google for "java to native compiler"      
_________________
My web site Great White Software
RBLibrary.com REALbasic learning  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 4 posts ]      
-- 
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