Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: MMp131316 on April 26, 2013, 01:55:14 PM

Title: Java/ Mono UI program to run on Olinuxino A13
Post by: MMp131316 on April 26, 2013, 01:55:14 PM
Hello Everybody :),
I have a question, I want to build an application with user interface in either java or C#(using mono - for those that do not know mono is c# version for linux) is there a way to built the application on a regular computer and then export the binary onto olinuxino and run it there?
and how to install the java/c# runtime on the olinuxino board??

Thanks for your time! Regards ;)
Title: Re: Java/ Mono UI program to run on Olinuxino A13
Post by: BJFreeman on April 27, 2013, 05:21:34 PM
java -version
will let you know if open JDK is installed.
however if your going to provide a Java app other than an applet, you will also need Tomcat server.
if your going to go to all that trouble, suggest you develop in android, ADT  or Eclipse.
Title: Re: Java/ Mono UI program to run on Olinuxino A13
Post by: buzibus on April 28, 2013, 02:40:21 AM
Quote from: MMp131316 on April 26, 2013, 01:55:14 PM
is there a way to built the application on a regular computer and then export the binary onto olinuxino and run it there?

yes. java and mono are meant to be multi-platform.


Quote from: MMp131316 on April 26, 2013, 01:55:14 PM
and how to install the java/c# runtime on the olinuxino board??

Thanks for your time! Regards ;)


depends on the OS you choose to use

Title: Re: Java/ Mono UI program to run on Olinuxino A13
Post by: MMp131316 on May 02, 2013, 06:41:34 PM
Well the OS i choosed is : A13 Advanced Debian 4GB card image with XFCE4, GCC, GPIO, WIFI, WTHERNET, UVC, Python, OpenCV;
Is it possible do develop an application let's say in mono on a laptop and to install it on the board afterwards??
And yes there is no java installed on the os.
I would like to stick to java / c# / python when building an application :)
Title: Re: Java/ Mono UI program to run on Olinuxino A13
Post by: demptis82 on June 04, 2013, 11:33:12 PM
Its super easy with that setup.  On the A13 board, just run "sudo apt-get install mono".  Then you can just make a folder for your application (say its called foo).  On the board you can run is using "mono foo.exe".  You can then do all of the development on Windows and just copy the compiled foo.exe and any depdent dll's to the board (WinSCP is good for copying and easy to script).
Title: Re: Java/ Mono UI program to run on Olinuxino A13
Post by: MMp131316 on June 08, 2013, 07:23:09 PM
Quote from: demptis82 on June 04, 2013, 11:33:12 PM
Its super easy with that setup.  On the A13 board, just run "sudo apt-get install mono".  Then you can just make a folder for your application (say its called foo).  On the board you can run is using "mono foo.exe".  You can then do all of the development on Windows and just copy the compiled foo.exe and any depdent dll's to the board (WinSCP is good for copying and easy to script).
Thank you for the reply! Can I also run application with UI in this way?(if i build a form application)
Title: Re: Java/ Mono UI program to run on Olinuxino A13
Post by: MMp131316 on July 14, 2013, 07:34:24 PM
Well.. i have tried to install monodevelop however i get some dependency problems and also some packages are not installable......
i have also tried with apt-get mono and i receive the error that it cannot locate the package - if i have wifi doesn't it take the package from the internet with just apt get??
Title: Re: Java/ Mono UI program to run on Olinuxino A13
Post by: JohnS on July 14, 2013, 09:50:46 PM
Not as I read the man page.  You look to need a command.

John
Title: Re: Java/ Mono UI program to run on Olinuxino A13
Post by: demptis82 on November 11, 2013, 05:46:36 PM
Sorry, its apt-get install mono-complete OR apt-get install mono-runtime if you just want to be able to run programs on linux but keep developing on windows.