I've wondered this for a while, but figured I'd ask this here since I've never actually tried it.
I remember from JavaOne in 07 (the slot car challenge) that it's entirely possible to write an application using RTSJ on a non real-time system (I was coding using Netbeans on my Vista laptop), but I don't recall actually trying to test the code I'd written on my obviously non-real-time system. Is it possible to test-run RTSJ code on a non real-time system, or will it be down the road, at least to validate that it functions, or does that require transferring the byte code to the destination system?
(I suppose the major impetus for asking is evaluating it for use in a project later this year for the students on the robotics team I mentor...)
Theodore Jonathan Casser
SCJP/SCSNI/SCBCD/SCWCD/SCDJWS/SCMAD/SCEA/MCTS/MCPD... and so many more letters than you can shake a stick at!
No, it will only run on Solaris 10 or Linux with the proper kernel and real-time patches installed. However, I develop on a Mac and deploy and run on Linux running within VirtualBox. There is a NetBeans plugin that allows you to remotely deploy.
Thanks for the quick response. Hmm. Me thinks I need to talk my team's school into letting me run a Linux box....
Joined: Jun 15, 2009
What are you using now? You can download and install VirtualBox from virtualbox.org and then install Ubuntu Linux inside of it. When you launch Linux, execute the following command:
Make sure you choose the right kernel (with the rt-preempt in the name) when you start Ubuntu within VirtualBox. Then you can develop on your host, and copy it (via FTP) to Linux virtual OS and test all on one physical computer. This is exactly how I do it. Take a look at the screen shot attached. It shows NetBeans 6.5 running within Ubuntu on my Mac.
I need them to get me new machines anyway - we're doing our coding, at the moment, on some fairly ancient Windows machines.
I'm not opposed to the VirtualBox solution, it's more a matter of getting approval to use it - the school board is not quite the most.. technologically up-to-date or knowledgeable group. But since we're likely transitioning the team to using Java for software this year (I have to train a wholly new programming team, as my former programmers were graduated this year), I figured it'd be a good opportunity to investigate.
I'll definitely have to look into the software you mentioned, though. Thanks!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com