Installing Your Game

I reckon that my local installation of Java is pretty standard - I've got the JDK in one directory, my own generic classes in another directory, and classes specfic to a particular prog/game in another directory. How does anyone else easily transfer these classes onto another PC, i.e. as an installation package? I assume you put them all into a JAR file, but how do you know which classes to include? Is there a way to automatically extract just the classes you need, or do you just stick them all in? Or do you go through your program and manually include each class you use?
Thanks in advance.

the standard library is part of the jre, so you don't have to package it with your jar file. but the library depends on what jre the user has.
if the user only has java 1.1 you won't be able to use 1.4 features like the javax.swing, javax.imageio, etc.
i guess you could package up the parts of the library you need that are not included in the 1.1 library.
id rather just pick the minimum jre to run on, then restrict yourself to features in that version of the library.
how to find what non-jdk classes are used?
you need the min classes to compile the app.
so all the classes in your project, then the classes from any libraries used (beside the java lib).
or say you explicitly import every class your using
import org.lib.LibClassA; ( instead of)
import org.lib.*;
then all the explicit imports equals all the files needed in your jar package.

Similar Messages

  • How can i install windows games in my macbook pro

    I m a game lover but since i've macbook pro,i haven't played any game on my macbook...so guys please tell me how can i install windows games to my macbook pro.

    As eww said, that computer isn't specifically made for gaming. To get advanced graphics in a game, your computer needs what is called a "discrete" graphics processor, or GPU. This means a seperate chip that processes graphics. In Apple laptops, these are only found in the 15" and 17" MacBook Pro. It is not common to find these in laptops in general that are not expensive and high-end. What you have in yours is an "on-board" or "integrated" GPU. This means that graphics processing is done by a small portion of your main processor (the Intel i5 board). This takes away a portion of primary prossessing and dedicates it to graphics. This works perfectly find in most scenarios, but video rendering, gaming, and 3-D graphics tend to suffer. Most high-end, modern games require discrete GPUs to run at full quality these days.
    As far as running Windows 7 and Mac OS both, yes you absolutely can. If you install Windows 7 via Bootcamp (this would require you to have a Windows 7 CD), when you turn on your computer it will default to opening up in Mac OS. But if you hold down the Option key (bottom of the keyboard next to the Command button) while the computer is booting up, it will ask you if you want to open Windows or Mac OS.

  • If i reset my ipad can i install paye games for free if i sign back into my apple ID. Please i need help because i need to update my games but i need to put in this billing thing and i want to get rid of it so then i cant buy games with my credit card

    If i reset my ipad can i install paye games for free if i sign back into my apple ID. Please i need help because i need to update my games but i need to put in this billing thing and i want to get rid of it so then i cant buy games with my credit card

    Hello,
    As frustrating as it seems, your best to post any frustrations about the iPhone in the  iPhone discussion here:
    https://discussions.apple.com/community/iphone/using_iphone
    As this discussion is for iBook laptops.
    Best of Luck.

  • When I try to access the Apple store to install a game on my Iphone3g, another person's email address comes up on the page that asks for my password. Has someone hacked my account? It won't accept my password because it's someone else's ID!!!

    When I attempt to install a game on my I phone 3g, another person's ID (email address) is on the little box where it asks for my password. It won't accept my password because it's not my ID. How can I get this person's ID off my phone?  Have I been hacked or something??

    Just sign put of that account and into yours.
    This is covered in the manual:
    iPhone User Guide (For iOS 4.2 and 4.3 Software)

  • How can i install windows game on my mac actually i download a cricket game 2009 how i can inastall in mac

    how can i install windows game on my mac. actually i download a cricket game 2009 how i can inastal in mac

    It will never run in OS X. You need to install Windows on your machine.

  • HT4314 Does anyone know how to turn off the pics of your Game Center friends showing on the right side of the screen while playing a game?

    Does anybody know how to turn off the pics of your Game Center friends that show while you're playing a game?

    Swamava,
    Thank you for the link you provided and I am glad I am not the only one with this problem, however beforeI install Adblock is it a free program or is there a fee you
    must pay to download the program? I am some what hesitant to be oblighted to
    a monthly or yearly bill.
    i

  • How do i install the game impressive world on my apple computer

    How do I install the game Impressive World ?

    That appears to download an .exe file.
    .exe files are Windows executable. You would need to buy and Install Windows on your Mac.

  • I have ipod touch Trilogy, i'm not able to install any game in it.is my ipod supports to game?

    i have ipod touch Trilogy, i'm not able to install any game in it.is my ipod supports to game?

    Do you mean you are unable to install or sync Apps to your iPod?  Are you using at least iOS version 2.0 or later?
    If you have a 1G iPod Touch, you can update to 3.1.  Use this article to purchase the update.
    http://support.apple.com/kb/HT2052
    B-rock

  • Won't install downloaded games

    when I try to download games horror ones on my hp 655 laptop 19" it gives error or says something like unable to install when all I want to do is install, download 3 games called five nights at freddy's 1,2,3 if can help that would be aprisheated

    Make sure you are logged in as administrator. 
    Then click on start -control panel - Users - Click on "Change user account control settings" and scroll the bar all the way to the bottom to never notify. Then click ok and restart the unit.
    Then try to download and install the  game and check for the result.
    **Click the KUDOS star on left to say Thanks**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
    Thank You,
    AntonyG1
    Although I am an HP employee, I am speaking for myself and not for HP

  • Hi! I have installed a game Sims 3 and it isn´t opening because it is a .ipa

    Hi! I have installed a game ´´Sims 3´´ from Itunes, but it isn´t opening. The file has .ipa. I have bought it and I really want to play it!
    Hope you can help me

    Just to make sure it's clear, by "iDevice" picas means an iPhone, iPad or iPod touch. You cannot run apps purchased from the iTunes Store on your Mac.  If you want apps for your Mac, you buy them either from the Mac App Store, which you access via the App Store application on your Mac, or in many cases you can buy directly from the app's developer.
    Regards.

  • Is it possible to un-install a game

    Is it possible to un-install a game on my IPOD Touch.
    Kameronfromflorissant

    If it was downloaded from the App Store, tap and hold your finger over it until an X appears in the upper right hand corner.  Tap the X to delete the App.
    If it was an app that came pre-installed, I'm afraid it can't be removed.
    B-rock

  • I bought Max Payne but i can not install the game on my IPhone 3GS

    I I bought Max Payne but i can not install the game on my IPhone 3GS. I already deleted all the apps in my Iphone and tried to install Max Payne but for some reason when the game is near the end of the installation it always fails. Can someone help me??

    "Reset" as in Erase all Content and Settings"?
    Yes
    "Did you try dowloading the app to iTunes on your computer and syncing it to your phone"
    Yes
    "We need the exact error message, including number if any, in order to help."
    I tried do install the game again. The message says that the installation failed.

  • I installed a game and when i start mozilla i am unable to start with the my home web page how can i fix

    i installed a game and when i start mozilla i am unable to start with the my home web page. i set my home page in options tools. when i open Mozilla it opens in another page that i do not want

    Some add-on or other software included with the "game" you installed might have "hijacked" your Firefox home page. I take it you tried resetting your home page? Ref: [[How to set the home page]]
    See this article for links to other possible solutions:
    *[[Fix problems with your home page or search]]

  • Why did apple stop supporting disc installed video games in their macs

    I was wondering why did apple support disc installed games like spore on older macs but they wont install on the newer macs. This is really bothering me because i like disc installed videos games they are safer and you have to purchase them in order to play them unless you have a crack. Now apple is saying that discs are obsolete when really they aren't.

    These are user-to-user forums where everyday folk (volunteers) post questions and offer answers (technical support) to each other.None of us users take part in any of Apple's decisions and/or why they do the things that do.  Your best bet would be to post your concerns over on the Product Feedback website.

  • How to install free game without credit card information

    how to install free game without credit card information

    You can create an iTune and App Store account without credit card
    1. Sign out of current Apple ID if you are sign-in to one (important)
    2. Go to App Store and select a free app
    3. Tap INSTALL APP
    4. Create New Apple ID
    5. Confirm Your Country
    6. Agree with Terms and Conditions
    7. Fill in your Apple ID and Password (you must create a new Apple ID; don't use your old Apple ID)
    8. Create and answer your secret question
    9. Select NONE for Payment Method
    10. Fill in Billing Address
    11. Submit application for new Apple ID
    12. Wait for verification email
    13. When email arrive, verify your account
    14. Start downloading your free apps

Maybe you are looking for

  • Regarding Internal Table Field Validation [Modification]

    Hi All, I have a small issue with formatting of a field. The Field is POTX1 - it would get the value as 'New MT-EPPE0097-COMP02', Means i have one internal table field as i_error-POTX1 in that some times we get value as 'New MT-EPPE0097-COMP02'. When

  • Select records from MS Access tables using multiple conditions

    Hi, I am trying to build s select list of team names for a sporting club website. The select list should include teams if the currently logged in user is a coach, team manager, assistant coach, player or a parent of a player. When I have only one gro

  • Best place for abap

    what is the best place for abap searching

  • Directory button in CCM 4.1

    Hello Experts, When I hit the Directory button on the phone, the only options that I have are Missed Calls, Received Calles and Placed Calls but don't have the option 4 which allows me to search the directory for users. Could you please let me know h

  • MPD's little helpers

    I use MPD + ncmpcpp and its really awesome. I use mpdscribble for scrobbling to last.fm and mpd-sima for adding common songs in the playlists, and other tools like mpd-add-similar look nice (adding more than one song at a time.). What i miss now is a