Results 1 to 10 of 10
- 04-11-2012, 07:07 PM #1
Member
- Join Date
- Apr 2012
- Posts
- 7
- Rep Power
- 0
Motorolla Xoom: How can I run a JAR file on it?
Hi guys,
Apologies if this is in the wrong forum, couldn't find a tablet section..My problem however is that I have a program which I created in Netbeans on my Windows laptop, all very nice with a GUI and what not. I created the JAR file and it works on my laptop but when I try and run it on the tablet it says it cannot open file :( Is there anyone that knows how I can get it to run?
Many thanks in advance!
- 04-11-2012, 11:35 PM #2
Member
- Join Date
- Apr 2012
- Location
- Ireland
- Posts
- 5
- Rep Power
- 0
Re: Motorolla Xoom: How can I run a JAR file on it?
Thats not a very detailed question?
Is your program gui made with swing?
did you develop the application with the android ui?
did you export the file as an android application with the android api?
- 04-11-2012, 11:56 PM #3
Member
- Join Date
- Apr 2012
- Posts
- 7
- Rep Power
- 0
Re: Motorolla Xoom: How can I run a JAR file on it?
Sorry Andrew, still new to this all!
Basically made the GUI using swing in Netbeans. It wasn't developed with the android api and I didn't know how to export the file as an android app with the android api!
Basically made the programme for my windows laptop, but want to try and move it onto the tablet now, is there any way?
- 04-12-2012, 01:10 AM #4
Member
- Join Date
- Apr 2012
- Location
- Ireland
- Posts
- 5
- Rep Power
- 0
Re: Motorolla Xoom: How can I run a JAR file on it?
Unfortunately I havent started android development yet.
I can tell you that if you program is in the mcv layout, most of your code will port easily but you will have to make your gui from scratch using androids api.
I dont think there is any program that can port automatically but swing will not work on android.
What I suggest you do is read up on android development and first of all search youtube for installing the android api in netbeans with an android emulator.
porting java applications to android looks like it takes almost as long as making the application itself so I'm staying away from it for now :)
good luck and welcome to android development :P
- 04-12-2012, 01:29 PM #5
Member
- Join Date
- Apr 2012
- Posts
- 7
- Rep Power
- 0
Re: Motorolla Xoom: How can I run a JAR file on it?
aaaaaah f*** :(
That sucks then..If I were to get a Windows tablet instead, would it work on there without all these troubles?
- 04-12-2012, 02:50 PM #6
Re: Motorolla Xoom: How can I run a JAR file on it?
Depends on the OS. Do Windows tablets run a full-fledged WinXP / Vista / 7 or do they run on Wndows CE / Mobile / Phone? If the latter, you might be able to deploy Java ME applications (provided there's a KVM installed).
It looks like your confusion began when you assumed that Android is Java. It isn't.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 04-12-2012, 11:01 PM #7
Member
- Join Date
- Apr 2012
- Location
- Ireland
- Posts
- 5
- Rep Power
- 0
Re: Motorolla Xoom: How can I run a JAR file on it?
If its a windows 7 tablet then yes it has full java support because it is full windows 7 any of the old pda's that run windows mobile wont they run on java me, but i havent seen a new tablet running that.
- 04-18-2012, 06:53 PM #8
Member
- Join Date
- Apr 2012
- Posts
- 7
- Rep Power
- 0
Re: Motorolla Xoom: How can I run a JAR file on it?
So would this tablet be able to run netbeans just like my laptop?
Moderator edit: commercial link removed.
Thank you so far for your help thoughLast edited by DarrylBurke; 04-18-2012 at 09:29 PM.
- 04-18-2012, 06:54 PM #9
Member
- Join Date
- Apr 2012
- Posts
- 7
- Rep Power
- 0
Re: Motorolla Xoom: How can I run a JAR file on it?
My confusion began when I read Java was multi-platform...my fault for not looking into this a bit more though
Thanks for your help however db!
- 04-18-2012, 09:30 PM #10
Similar Threads
-
Open a jar file with button swing and load this file.jar in a desktop pane
By lordhark in forum AWT / SwingReplies: 15Last Post: 02-16-2012, 03:43 PM -
Write a program that sorts data from a text file and sort them in a file
By danmgz45 in forum New To JavaReplies: 6Last Post: 12-01-2010, 05:31 AM -
Log4J : logs of a specific category to a file, but only errors to the file AND stdout
By msegmx in forum Advanced JavaReplies: 0Last Post: 07-15-2010, 01:23 PM -
how to read openproj(Projity) file i.e. ,POD file(Project Management file)
By mahendra.athneria in forum New To JavaReplies: 0Last Post: 02-11-2009, 09:53 AM -
How to parse the CSV(Comma separation values)file and validate the file using java
By padmajap13 in forum Advanced JavaReplies: 7Last Post: 05-23-2008, 03:46 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks