Java and Mac OS X

Hello,
I have some problems in here while developing in Java using Netbeans 8 with JDK 8.5.
It happens that sometimes I face some weird behavior from Java, for example, I have a small window with a button when pressed call two more windows with 500x500 bounds, and the problem is that after few changes in the code these windows are not appearign correctly, they're totally without any bounds and the X and Y position in the screen are also wrong, appearing in the very corner of the left side of my screen. I am sure I did not touch the code from these.
I know Apple is trying to get rid of Java, so I wonder if it has something about it.
Thank you.

I have found Mac OS X to be very Java friendly for several reasons...
Out of the box, OS X has at a minimum version 1.3 of the JRE installed in addition to command line tools like javac, java, jar. Panther, 10.3, has 1.4 installed out of box. The JDK/JRE for the Mac is available via the Software Updates capability directly from Apple. That is, you obtain JRE upgrades in the same manner in which you obtain updates on the OS itself. And it's simple and painless to do.
I've used JEdit and BBEdit and also XCode. It sounds like XCode is available via download (good to know..). I installed the Xcode tools from a CD that came with the box CD set for my Panther (10.3) OS. With the Developer tools, I can use a program called Jar Bundler to create "*.app" files for my Java applications so that they run with a native look and feel on OS X - (I mean having an icon in the dock for the Java app, and the icon bounces up and down like the others when the app executes etc). This makes deployment easy. To the best of my knowledge, that kind of convenience does not exist on Windows. For windows OS I think it is necessary to obtain install and configure a separate third party application which creates the "exe" file for the java application.
All Browsers on Mac OS X are set up to use the JRE on the system. The drawback is that only Safari right now is capable of using version 1.4 of the JRE. All other browsers, Mozilla, IE 5.2, OmniWeb, etc will use version 1.3. The good news is that configuring for the plugin is done behind the scenes, automatically. No messing with Tools menu or creating symbolic links are necessary in order to have the browser find the jre.
Here are some links you may wish to browse
http://www.apple.com/macosx/features/java/
http://www.javaworld.com/javaworld/jw-01-2002/jw-0118-macworld.html
http://www.onjava.com/pub/a/onjava/2002/09/25/macosx.html
http://www.pepsan.com/macosx/java.html

Similar Messages

  • So sick of having trouble with Java and Mac!

    I bought myself a brand new MacBook Pro OS X 10.5.8 for around a year ago. Since the first month I've had so many problems with my Java. It's eighter not working, or its is so slow that you can't work with it, at all.
    Yesterday I was playing a game, were you're in need of Java. It worked perfectly. Then suddenly, it stopped again. And I tought, since I had not used it for a while, I just had to update it. So I clicked at the "software update" and updated everything. I don't think Java was at the list. Still wasn't working. So I went to Apple.com and searched for the "Mac OS X 10.5 update 10" and found it. I downloaded it, and installed it about five times or something, still not working. I've tried everything that came to my mind to try fixing it, but nothing works. What can I do? I'm so sick of having this problem every time I'm in use of the mac. Realy start to regreat the expensive bought of this mac.
    Please, someone help me. I hate the tought of wasting 16 000,- Nok at this pc, when it's not working the way I'm using it..
    And sorry for the bad english, I'm only 15..

    Hei Kristine, er engelsk ikke så ille!
    Very Important, how much Free Space is on your Hard Drive first of all? Click on the Macintosh HD on the Desktop, then do a Get Info on it.
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.

  • Firefox 4, Java and Mac OS X not working

    I see lots of problems with JAVA not working after installing in Mac OS X. I too, cannot get Firefox 4 to work Java on any sites. It says the plugin is missing, but then cannot install it. I've tried 32 bit mode, changing Java pref's to handle things itself, but to no avail.
    I am trying to open Command Center 2.0 in TD Ameritrade like I have been doing before Firefox 4.
    Help!!!

    You have to get the latest Java through Software Update (under the apple), and then re-install the binaries for the Java Embedded Plugin which you can find @ http://sourceforge.net/projects/javaplugin/
    (read the README file for how to install)
    Also go to "about:config" and set 'dom.ipc.plugins.java.enabled' to TRUE.
    Not sure why all this needs to be done or why java plugin is disabled by default. Looks like something was overlooked in this last release.

  • Java and Mac

    Hi,
    Essentially, I'm going to study programming as one of my university modules and I need to download Java SE Development Kit 6u23. Unfortunately, I cant find the platform for Mac.
    After some research, I heard that Xcode would be the same as Java SE Development Kit 6u23. Is it true? If it is true, all I need to do is to install Xcode from the installation disks which come with my mac OR I can download it from apple.developer.com, right?
    Thanks!
    Cheers.

    Hi sptrakesh,
    Yes, I have /Library/Java/Home under my bootable drive.
    Anyway, the JDK from the developer.apple.com is almost 10GB which consisted of IDE for Mac, Safari and iOS! I've installed "Developer" from my SL disks which is only 3.5GB. Phew..
    Thanks again.

  • How Do I Get Java For Mac OSX 10.5.8 On A PowerBook G4 Or Update To Minimum MAC OSX 10.6.8 or later Without Spending Any Tech Mind Of My Own And Also Not Buy ANYTHING AT ALL!!!?????

    How Do I Get Java For Mac OSX 10.5.8 On A PowerBook G4 Or Update To Minimum MAC OSX 10.6.8 or later Without Spending Any Tech Mind Of My Own And Also Not Buy ANYTHING AT ALL!!!????? Please Help!!!

    Sorry, it's for 64 bit IntelMacs only...
    updating Java SE 6 to 1.6.0_26 for 64-bit capable Intel-based Macs. 
    Java for Mac OS X 10.5 Update 10

  • Ive recently updated my mac to OS X 10.10 and now my CS5 illustrator and photoshop will not open...  I uploaded the most recent Java and they still won't open.  Please help

    Ive recently updated my mac to OS X 10.10 and now my CS5 illustrator and photoshop will not open...  I uploaded the most recent Java and they still won't open.  Please help

    Mac,
    Nothing shows up here?
    https://www.adobe.com/account/my-products-services.html#
    With CS5 you must have registered, hopefully under your present Adobe ID.
    I am afraid the chat and phone support are off until the beginning of January.
    Serial number and activation support (non-CC, chat open between 5AM and 7PM PST/PDT on workdays)
    http://helpx.adobe.com/x-productkb/global/service1.html
    Adobe ID and registration support (non-CC, chat open between 5AM and 7PM PST/PDT on workdays)
    http://helpx.adobe.com/x-productkb/global/service-c1.html
    http://helpx.adobe.com/adobe-connect/adobe-connect-phone-numbers.html

  • ...desperating trying to install itunes 10.7, but it asked me to install Mac OS X 10.6.8.  I did, but then it said that I needed to install Java for Mac OS x 10.6.  I did that and now it keeps saying 'this update requires Mac OS X version 10.6??

    ....desperating trying to install itunes 10.7, but it asked me to install Mac OS X 10.6.8.  I did, but then it said that I needed to install Java for Mac OS x 10.6.  I did that and now it keeps saying 'this update requires Mac OS X version 10.6??

    Upgrading to Snow Leopard
    You must purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard - Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mountain Lion if your computer meets the requirements.
         Snow Leopard General Requirements
           1. Mac computer with an Intel processor
           2. 1GB of memory
           3. 5GB of available disk space
           4. DVD drive for installation
           5. Some features require a compatible Internet service provider;
               fees may apply.
           6. Some features require Apple’s MobileMe service; fees and
               terms apply.
    Actually, you cannot download Snow Leopard. You downloaded a Snow Leopard updater.

  • Illustrator CC2014 crashes at launch on Mac OS X Yosemite (10.10.1), I've updated Java and it still crash

    Hi!
    I need kelp, Illustrator CC2014 crashes at launch on Mac OS X Yosemite (10.10.1), I've updated Java and it still crash.
    Then I moved to a different carpet plugin files that look like this and didn't worked.

    I have no idea about the second part of your question but as for Java you need to install the Apple Java for OSX 2014-001. Look for it on the Apple site.

  • I have creative suite 5.5 and have recently updated my iMac to Yosemite. Now I can't open the adobe apps. I have done the suggested Java update and mac OS X Java patch update.. still no go. Can you HELP?

    I have creative suite 5.5 and have recently updated my iMac to Yosemite. Now I can't open the adobe apps. I have done the suggested Java update and mac OS X Java patch update.. still no go. Can you HELP?

    uninstall, clean (Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6) the install using the installation files.  do not migrate adobe programs.
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5.5, 5 | 1
    Contribute:  CS5 | CS4, CS3 | 3,2
    FrameMaker:  12, 11, 10, 9, 8, 7.2
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • What are the better IDE's for Mac (Java and C++)?

    I'm switching over to Mac's here soon and I'm curious about which products are the best, from others' experiences, for developing Java and C++ applications. On Windows I used NetBeans and IntelliJ (although not as much), but I'm curious if there is Mac specific software that someone might recommend.

    Both of the above work fine on Mac (I used IntelliJ exclusively for Java development).  For C++ I use Qt Creator and sometimes Xcode.

  • Software update 14 Java for Mac 10.6.8 gave me 27 permissions errorsI found 29 permissions errors.Disk Utility and Onyx cannot repair.

    first time I contact Apple Support Communities
    I have re-installed Snow Leopard on a MacBook Pro(permissions = ok) and each Software update proposed by Apple.
    After each software update installation, I have checked the permissions being ok.
    But after install update 14 Java for Mac OS X 10.6.8 (proposed by Apple), I found 27 permissions errors. Disk Utility as well as Onyx cannot repair. (in fact they repair and if you check again you still have those 27 permissions errors)
    It concern mainly System/library/Java/Java Virtual Machine  +  System/Library/Framewoks/JavaVM.Framework  and System/Library/Java/Support/Deploy.Bundle
    Do you have an idea how to get rid of those 27 permissions errors.
    Thanks in advance
    claude533

    As long as the report ends up with 'Permissions repair complete' then, as far as permissions go, you are fine. You can ignore the various statements in the report:
    Permissions you can ignore on 10.5 onwards:
    http://support.apple.com/kb/TS1448
    Using 'should be -rw-r--r-- , they are lrw-r--r--' as an example, you will see the that the permissions are not changed, but the | indicates a different location. This is because an update to Leopard onwards changed the location of a number of system components.
    Poster rccharles has provided this description of what it all means:
    drwxrwxrwx
    d = directory
    r = read
    w = write
    x = executeable program
    drwxrwxrwx
    |  |  |
    |  |   all other users not in first two types
    |  | 
    |  group

    owner
    a little more info
    Before the user had read & write. A member of the group had read.
    After, only the user had read & write.

  • HT5243 It says on the "Java for Mac OS X 10.6 Update 8" pg that this download is for all users and supercedes all earlier versions. Yet to the right is says you HAVE to have 10.6.8 as a requirement. WHICH is it?  Is it for all versions of 10.6 or not?

    It says on the "Java for Mac OS X 10.6 Update 8" pg that this download is for all users and supercedes all earlier versions. Yet to the right is says you HAVE to HAVE 10.6.8 as a requirement. WHICH is it?  Is it for all versions of 10.6 or not? Why isnt this made more clear?
    And question is STILL not answered.  WHICH is to be downloaded and used?
    I would like an answer.

    Thank you for the clarification!  It is really kinda circle-speaking to state on an information page to put forth info people need in that manner.  It really does add to the confusion and frustration when you need a simple,
    straight answer, such as you gave, and you dont get one.  Kind of like that . . other... software company....
    This rabbit hole still continues, though.  I'm going to ladder it out, just to see for myself:
    Have: MacBookPro / 2.4 GHz/ Intel Core i5/ running OS X 10.6.3 -
    Need: latest version of Java, so Flash update can be loaded;
                                  (want html5 to be the standard so badly, but client wants Flash)                  
      Attempted:  Tried to find Java for Mac OS X 10.6 Update 2 on Apple website.  No Joy.
            Found:   Update 2 is proper update for Mac OS X 10.6.3.  Could not find download on Apple website;
                           - No Joy.
      Attempted:  Tried to find Java for Mac OS X 10.6 Update 8. Half Joy. Confusing, no straight info.
            Found:   In order to install update for Java, must update OS X from present 10.6.3 to 10.6.8
      Attempted:   Tried to find update to OS X 10.6.3 to 10.6.8. on Apple website.
    how far does the rabbit hole go?

  • I have a MAC, Ive just installed OS10.10.3 operating system in it and I can't open Photoshop.  This is a wide spread problem that involves Java and Photoshop software.  Since you produce both these products , I turn toward you to direct me to the best "Fi

    I have a MAC, Ive just installed OS10.10.3 operating system in it and I can't open Photoshop.  This is a wide spread problem that involves Java and Photoshop software.  Since you produce both these products , I turn toward you to direct me to the best "Fix"?

    Go here Mac OS X Yosemite (10.10) compatibility FAQs | CC

  • Can Java program written on Windows platfrom run in Linux and Mac?

    Hi
    I am currently building a java applet in windows platform. I am wondering whether this program can be run on other platforms (Linux and Mac Os), Because the requirement of this program is to be able to run on three different platfrom (windows, linux and Mac os). Really appreciate if someone can help me
    Thank

    I can say with a high degree of certaintly that the answer is probably. Thats about 90% probably, which is a lot better than you will get with anything else. You may need to be careful of fonts and such, but GFI

  • FREE software for creating VM's (also Linux and MAC).  Good for ABAP+JAVA

    For anybody not wanting to spend money on vmware or parallels you can run this stuff very easily on LINUX, WINDOWS or MACs
    http://www.virtualbox.org/
    It's free open source and works really well --excellent documentation.
    I find using VM's on the whole a decent solution to installing various SAP Netweaver trial products -- saves the hassle of re-installing / uninstalling stuff. Just junk the VM and use a new one.
    Another great idea is to have 2 VM's so you can concurrently have both the JAVA and ABAP stuff without problems --ensure your "Real" machine has plenty of RAM memory if you do this --suggest 4GB as a minimum.
    Cheers
    jimbo

    When Disk Utility and Toast 6 Titanium are not working, then there is probably something wrong with the DVD-writter or the image you want to burn.

Maybe you are looking for