Results 1 to 10 of 10
  1. #1
    psv
    psv is offline Member
    Join Date
    Apr 2012
    Posts
    7
    Rep Power
    0

    Exclamation 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!

  2. #2
    AndrewC is offline Member
    Join Date
    Apr 2012
    Location
    Ireland
    Posts
    5
    Rep Power
    0

    Default 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?

  3. #3
    psv
    psv is offline Member
    Join Date
    Apr 2012
    Posts
    7
    Rep Power
    0

    Default 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?

  4. #4
    AndrewC is offline Member
    Join Date
    Apr 2012
    Location
    Ireland
    Posts
    5
    Rep Power
    0

    Default 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

  5. #5
    psv
    psv is offline Member
    Join Date
    Apr 2012
    Posts
    7
    Rep Power
    0

    Default 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?

  6. #6
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,184
    Rep Power
    19

    Default 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.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  7. #7
    AndrewC is offline Member
    Join Date
    Apr 2012
    Location
    Ireland
    Posts
    5
    Rep Power
    0

    Default 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.

  8. #8
    psv
    psv is offline Member
    Join Date
    Apr 2012
    Posts
    7
    Rep Power
    0

    Default 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 though
    Last edited by DarrylBurke; 04-18-2012 at 09:29 PM.

  9. #9
    psv
    psv is offline Member
    Join Date
    Apr 2012
    Posts
    7
    Rep Power
    0

    Default 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!

  10. #10
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,184
    Rep Power
    19

    Default Re: Motorolla Xoom: How can I run a JAR file on it?

    Quote Originally Posted by psv View Post
    So would this tablet be able to run netbeans just like my laptop?
    Ask the manufacturer.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 15
    Last Post: 02-16-2012, 03:43 PM
  2. Replies: 6
    Last Post: 12-01-2010, 05:31 AM
  3. Replies: 0
    Last Post: 07-15-2010, 01:23 PM
  4. Replies: 0
    Last Post: 02-11-2009, 09:53 AM
  5. Replies: 7
    Last Post: 05-23-2008, 03:46 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •