Help uploading some jars on a mac

Hi guys
I'm new to java and i'm following a course at university.
We have some pre-made jars from our teachers but i'm having some difficulties importing them.
Basically those .jar files are on a cd, the Windows path says "C:\ProgramFiles\Java\jdk1.6.0_04\jre\lib\ext"
I'm trying to find the same path on my mac but i simply cant.
I'm using eclipse as IDE, if i try to import it from the IDE selecting "import>File System" the .jar files are shadowed and i cannot select them.
Any help?
Thx a lot
Enrico

classboy wrote:
Hi guys
I'm new to java and i'm following a course at university.
We have some pre-made jars from our teachers but i'm having some difficulties importing them.
Basically those .jar files are on a cd, the Windows path says "C:\ProgramFiles\Java\jdk1.6.0_04\jre\lib\ext"
I'm trying to find the same path on my mac but i simply cant.
I'm using eclipse as IDE, if i try to import it from the IDE selecting "import>File System" the .jar files are shadowed and i cannot select them.
Any help?Well, on a Mac they'll probably be in a different place (possibly /usr/bin, but I'm not familiar with the machine). You could try using 'find' to locate directories starting with 'jdk'. Assuming you actually have a JDK installed, the subdirectories should be the same.
BTW: It's not usually recommended to put non-Sun jars into jre/lib/ext, but people often do it as a way of making them globally available. An alternative is to simply put them somewhere you'll remember, and then import them into your Eclipse project.
Winston

Similar Messages

  • HT204382 Need help uploading musics from PC to Mac.

    Hello there,
    i have old musics from my PC music folder (.wma files) that i would like to upload into my Mac. is there a free driiver/application that i can use to make the musics play in my Mac? I really dont want to buy a new product but i will if i have to. Please let me know if you can help,

    If you want to connect and use an iPod on more than one computer you need to change the update preference in the iPod Summary tab to "Manually manage music and videos" and click Apply. In this mode you just drag and drop whatever you want to the iPod from either library:
    Using iPod with Multiple computers
    Managing content manually on iPod
    iPod 101: Fill 'er Up
    Note: When changing from automatic to manual, check the "manually manage music and videos" box in Summary then press the Apply button. "Don't" uncheck Sync Music in the Music tab, it will be unchecked by default when you choose the manual setting, if you uncheck it without setting the iPod to manual first you'll erase all the songs from your iPod
    Something else to be aware of when using an iPod in manual mode is that the "Do Not Disconnect" message will remain on the display until you physically eject the device: Safely Disconnect IPod

  • I shot some video on my iphone and can not find a way to upload the videos to my Mac.

    I shot some video on my iphone and can not find a way to upload the videos to my Mac. I can not find anything in the iPhone manual or in these discussions. I am sure there is an easier way than emailing each file to myself. Help!

    Connect your iPhone to your Mac and start the Image Capture app. It's in the Utilities folder which is in the Appliations folder on your Mac.

  • I was doing some thing on my mac and the normal link to the applications folder from the bottom right hand corner disappeared, I cant find it anywhere, Can you help me?

    I was doing some thing on my mac and the normal link to the applications folder from the bottom right hand corner disappeared, I cant find it anywhere, Can you help me?

    Simple process. If an iPhone go to the Apple Store and not Verizon
    the phone from Verizon will be a refurbished device and not new unless under the 14 day worry free guarantee
    good luck

  • I recently updated my iphone software and now I can't upload photos from iphone to mac computer. Help please.

    I recently updated my iphone software and now I can't upload photos from iphone to mac computer. Help please.

    The following link has 2 methods for importing photos to a Mac (not counting Photo Stream). Are you using iPhoto or Image Capture? If you follow the steps in the link for that method, what exactly happens that doesn't allow the upload? iOS: Import personal photos and videos from iOS devices to your computer

  • I do not remember my password of filevault and i can not install some softwares on my mac please help me

    i do not remember my password of filevault and i can not install some softwares on my mac please help me

    Are you sure FileVault is active? You could not have started up without entering the password.
    If you are sure, see below.
    If you forget the password and FileVault is on

  • Mini mac will not register my digital camera. It connected the first day and I was able to upload some video; however, I pulled the USB out--there was a bad message--and I cannot get the mac to register that I plug it back in.

    It connected the first day and I was able to upload some video; however, I pulled the USB out--there was a bad message--and I cannot get the mac to register that I plug it back in.

    Have you downloaded everything that is on the camera? If so format the SD card on the camera (will erase everything on the card).
    If you have not downloaded everything can you see stuff on the camera? If you have a card reader you could try putting the SD card in that and trying on the mini. If your mini has a SD card slot you could try that.
    In any case format the card on the camera before taking more pics.
    Next time be sure to eject the camera from the Mac properly and turn the camera off before disconnecting.
    EDIT: You might also check the camera's USB Mode is set to PC.

  • Does uploading iPhoto libraries from multiple Macs with the same photos create duplicates in the new Photos app?

    I have 4 Macs and I had the same iPhoto library on each of them. When I chose to turn on the iCloud Photo Library on each of them, each Mac, each one of them uploaded the library to iCloud Photo Library.. Now it appears that I have many duplicates in the new Library. Is it adding each of the 4 libraries to the mix? It's a real problem as I have 25,000 pictures - 70GB in my library. So paused the upload on 2 of the Macs about half way through in case it is creating duplicates, until I get some answers. Any help would sure be appreciated.

    I'm in the same boat as well. I'm doing one mac at a time and seeing how it works. Howev the upload is so slow, who knows when it will be done.

  • Trying to upload some photos to an e-mail an I get a message that says "The iPhoto Library is locked, on a locked disk, or you do not have permission to make changes to it."  To where do I navigate to unlock this so I can have access to my photo library?

    Trying to upload some photos to an e-mail an I get a message that says "The iPhoto Library is locked, on a locked disk, or you do not have permission to make changes to it."  To where do I navigate to unlock this so I can have access to my photo library?

    Couple of things to try:
    Restart your mac and try launch iPhoto again.
    If that fails:
    Go to your Pictures Folder and find the iPhoto Library there. Right (or Control-) Click on the icon and select 'Show Package Contents'. A finder window will open with the Library exposed.
    Look there for a file called ‘iPhoto’Lock.data or similar. Drag it to the Desktop. Make no other changes. Start iPhoto. Does that help?
    If not: Where is your iPhoto Library stored? If it's on an External Disk, what format is that?

  • Can't upload any files from my mac to the Internet

    I am new to Macbook, and this obviously never happened before
    So, the problem is:
    I can't upload any files from my Mac anywhere (Facebook, Instagram, etc)
    I can't attach files to e-mails.
    any files that are on my desktop, folders - they just turn in grey and I can't choose them.
    The only way I can do it is by going to "ALL FILES" where I have to search through all the files that are on my Mac
    Keep in mind that this is a glitch, because earlier it was all fine and normal
    To see what I mean I am uploading a skreen shot of attemp of uploading files to Fb.
    Can anybody help? Can it be some sort of virus?

    Okay I had the same problem but I figured it out.  When you go to choose file, all the links are greyed out.  Use two fingers simulatiously and click down on the file you want, then choose "quick look" from the option menu.  This will open a preview of your document and make the open button usable.  Close the preview, and then select the open button. 
    The site I was trying to use says it only supports IE, so maybe that is what causes the problem.
    Hope it works for you!

  • Just uploaded apps from iPhone to Mac Pro but i can't open apps on mac pro?

    Just uploaded apps from iphone to Mac pro but i can't open the apps - Why?

    Hi richard915,
    Welcome to the Support Communities!
    Do you mean that you transferred your purchases from the iPhone to your Mac pro?  You can also set your Mac's iTunes preferences to automatically download purchases made to it.  You'd have to check the specifics for the app that you are having an issue with, but some apps that are designed for the iPhone won't work on your Mac. Developers usually create two versions of their software.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    http://support.apple.com/kb/ht1848
    iTunes 11 for Mac: Automatically download new iTunes Store purchases to multiple computers and devices
    http://support.apple.com/kb/PH12282
    I hope this information helps ....
    - Judy

  • We have two iPads. mine is the first one purchased. I opened iTunes to put some photos from the Mac to my wife's iPad. I plugged in my wife's iPad.  Both ipads have the same apple id and password. iTunes synced everything from my iPad to my wife's iPad. N

    We have two iPads. mine is the first one purchased. I opened iTunes to put some photos from the Mac to my wife's iPad. I plugged in my wife's iPad.  Both ipads have the same apple id and password. iTunes synced everything from my iPad to my wife's iPad. Now we have two identical iPads looking like mine. Everything on her ipad seems gone and replaced with mine, all her recent holiday photos, emails, settings, etc etc seem gone. 
    I'm toast!
    Help!!
    LJ

    How to use multiple iPods, iPads, or iPhones with one computer
    http://support.apple.com/kb/HT1495
    How to Share a Family iPad
    http://www.macworld.com/article/1163347/how_to_share_a_family_ipad.html
    Using iPhone, iPad, or iPod with multiple computers
    http://support.apple.com/kb/ht1202
    iOS & iCloud Tips: Sharing an Apple ID With Your Family
    http://www.macstories.net/stories/ios-5-icloud-tips-sharing-an-apple-id-with-you r-family/
    How To Best Use and Share Apple IDs across iPhones, iPads and iPods
    http://www.nerdsonsite.com/blog/2012/06/07/help-im-appleid-confused/
     Cheers, Tom

  • HELP!! Since upgrading to Mac OS x 10.3.2 my Pro Tools sessions won't open!

    Can anyone please help me. I was running Mac OS 9 and Pro Tools 5.1 on my Mac G4. I needed to upgrade to add a new piece of equipment. So I was told to update to Mac OSx 10.3.2 and Pro Tools 6.0. Since doing so, when I try to open my Pro Tools, it opens, but when I try to open a new session, I keep getting a small screen that says I must restart my computer. AFter restarting and repeating the above, I get the same message over and over. I tried updating to Mac OSx 10.3.8 and the problem is still occuring. Can anyone out there give me some advice on what to do next??? Thank you!!!

    Hi Susan,
    I dont know what the specific issue is but will try to be helpful anyway.
    If this were my problem the first thing I would assess (preferably from Digidesign) is - is PT 6.x known to be compatible with Mac OSX 10.3.x ?
    Once this hurdle has been cleared, and assuming that the compatibility is there,
    then I would want to know if your install/upgrade to 10.3.8 is 'clear'. Meaning, you've run Disk Utility *from the Panther Retail install disk* and DU is showing no errors, either with Permissions or with "Repair Disk". The logic being an app cant be expected to work right on top of an OS that isnt even healthy.
    Next, you say PT launches. You seem to imply that either:
    a. File/Open/sessionX
    or
    b. 2x clicking a session
    causes some kind of window to appear. Is that a PT related window or OSX type window ?
    Does the window occur with either a. or b. above or with only one method or what ?
    Can you do a "File / New ..." and not see the window appear ?
    Best,
    Chris

  • Please help! We got a used Mac Mini and we don't have the former owner's password, so we can't install anything like flash player.  Does anyone know how to get around this?

    Please help! We got a used Mac Mini and we don't have the former owner's password, so we can't install anything like flash player.  Does anyone know how to get around this? I don't know how to wipe the hard drive, and the support online doesn't seem to work.

    As posted previously:
    Reinstall OS X without erasing the drive
    Do the following:
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    If installing Leopard the process is similar in some respects.  If you wish to begin anew then after selecting the target disk click on the Options button and select the Erase and Install option then click on the OK button.  To install over an existing system do the following:
    How to Perform an Archive and Install
    An Archive and Install will NOT erase your hard drive, but you must have sufficient free space for a second OS X installation which could be from 3-9 GBs depending upon the version of OS X and selected installation options. The free space requirement is over and above normal free space requirements which should be at least 6-10 GBs. Read all the linked references carefully before proceeding.
    1. Be sure to use Disk Utility first to repair the disk before performing the Archive and Install.
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger, Leopard or Snow Leopard.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now restart normally.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Do not proceed with an Archive and Install if DU reports errors it cannot fix. In that case use Disk Warrior and/or TechTool Pro to repair the hard drive. If neither can repair the drive, then you will have to erase the drive and reinstall from scratch.
    3. Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When you reach the screen to select a destination drive click once on the destination drive then click on the Option button. Select the Archive and Install option. You have an option to preserve users and network preferences. Only select this option if you are sure you have no corrupted files in your user accounts. Otherwise leave this option unchecked. Click on the OK button and continue with the OS X Installation.
    4. Upon completion of the Archive and Install you will have a Previous System Folder in the root directory. You should retain the PSF until you are sure you do not need to manually transfer any items from the PSF to your newly installed system.
    5. After moving any items you want to keep from the PSF you should delete it. You can back it up if you prefer, but you must delete it from the hard drive.
    6. You can now download a Combo Updater directly from Apple's download site to update your new system to the desired version as well as install any security or other updates. You can also do this using Software Update.

  • Hi, my trial version of Lightroom 5 has recently expired and I have now fully bought it. I have uploaded the CD onto my Mac, but when I open the Lightroom application again, it still says the trial has expired. Does anybody know how I can update it so I c

    Hi, my trial version of Lightroom 5 has recently expired and I have now fully bought it. I have uploaded the CD onto my Mac, but when I open the Lightroom application again, it still says the trial has expired. Does anybody know how I can update it so I can finally use it again? I really appreciate any help!! Thank you!

    Joanne please remove your current installation of Photoshop Lightroom using the uninstallers located in the Applications/Utilities/Adobe Installers.
    You will then want to download Adobe Photoshop Lightroom 5.7.1 from Adobe - Lightroom : For Macintosh.  The update contains the entire application.  Photoshop Lightroom can not be installed through the Adobe Creative Cloud Desktop application and still be licensed with a serial number.

Maybe you are looking for

  • How can I import my iweb site into iweb on my new laptop?

    I recently got a new MacBook Pro and transferred my files over from my PBG4 12-inch (great little laptop). However my iWeb files/site didn't seem to transfer over to my laptop. I found the files of on my PBG4, and thought I placed them in the correct

  • Can I access old Microsoft Office files on a Mac?

    Am considering getting rid of my old PC and just using my Mac only, with Microsoft Office for Mac.  Woud i be able to access my old MS Office files from my PC on my Mac or not? Many thanks

  • Problem with Unlocked 6131

    hi all, i unlocked the secure-element of 6131phone and in the previous months i am using this phone for installing, deleting and accessing the cardlets inside the phone. But accidentally i tried several times through a java program to access the secu

  • Defining end user requirements

    Hi I'm new to discoverer and I would like to know how do you go about defining end user requirements. Is there some sort of rules or documentation around to help with this analysis stage, because I'm told that you need this sort ofinformation to enab

  • What is the benefit of using POE than AC Power?

    Hi, We are currently research on what is the benefit of POE over AC Power for wireless AP. Most of AP we are using is 1252 and 1142. Anyone can tell the different?