• AVR Freaks

Helpful Reply[FAQ]MPLAB X v2.XX: MacOSX 10.7 and above require JRE6

Page: 12 > Showing page 1 of 2
Author
Jose Diaz
Administrator
  • Total Posts : 1676
  • Reward points : 0
  • Joined: 2010/06/23 11:10:56
  • Location: 0
  • Status: offline
2014/01/23 10:47:05 (permalink)
0

MPLAB X v2.XX: MacOSX 10.7 and above require JRE6

If you have Mac OS X Lion, Mountain Lion or Mavericks (version 10.7, 10.8, or 10.9 respectively) or anything newer, you need Java 6 to run MPLAB X IDE. If you have encountered a Java 6 issue during the MPLAB X installation, please follow these instructions if this applies to you:

Your computer doesn't have Java installed or has Java 7 installed, but not Java 6.

In this case, you need to download the update for Java 6 from Apple by visiting this Apple Knowledge Base article. The download button for Java 6 is in the upper right corner of the page.
Java 6 and 7 should be able to coexist on your machine. The default JVM used to run applications will continue to be Java 7 after the update is applied. The MPLAB X IDE installer will find and use Java 6 once it is installed.

How to check your computer's Java version

If you're not sure what version of Java is installed on your computer, open a Terminal (Applications -> Utilities -> Terminal.app) and type this at the shell prompt:
java -version 
This will report which default version you have installed on your computer. If Java is not installed, it will open a window with a message about Java missing. In that case, see above to install Java 6.
If you have more than one JVM installed on your machine, you can locate each of them by executing these commands:
/usr/libexec/java_home -v 1.6   
/usr/libexec/java_home -v 1.7
 
post edited by Jose Diaz - 2015/02/24 16:02:45
#1
aflex
New Member
  • Total Posts : 14
  • Reward points : 0
  • Joined: 2014/01/06 03:53:50
  • Location: Santa Ana, CA
  • Status: offline
Re:MacOSX 10.7 and above require JRE6 2014/02/04 01:08:48 (permalink)
0
Thanks for such a detailed information. Many a times user update it to java 7 thinking a better version. But java 6 still supports many applications that java 7 don't.

High Quality Manufacturer
#2
aflex
New Member
  • Total Posts : 14
  • Reward points : 0
  • Joined: 2014/01/06 03:53:50
  • Location: Santa Ana, CA
  • Status: offline
Re:MacOSX 10.7 and above require JRE6 2014/02/19 03:55:04 (permalink)
0
Hi Jose Diaz,
I think it is right best solution for MAC users with each and every step, for those who are getting problems in installing Java 6 or who are willing to upgrade its version.
 

High Quality Manufacturer
#3
Guest
Super Member
  • Total Posts : 80500
  • Reward points : 0
  • Joined: 2003/01/01 00:00:00
  • Location: 0
  • Status: online
Re:MacOSX 10.7 and above require JRE6 2014/04/18 23:45:30 (permalink)
0
What about security in Java?
Why do you think they put out 1.7?
Java needs to be kept at current version for the system I am on.
Now what?
#4
Guest
Super Member
  • Total Posts : 80500
  • Reward points : 0
  • Joined: 2003/01/01 00:00:00
  • Location: 0
  • Status: online
Re:MacOSX 10.7 and above require JRE6 2014/06/11 02:38:41 (permalink)
0
I agree that Microchip should make every effort to keep up with the latest JRE releases. You are SO far behind now it's unbelievable.
For those testing on Yosemite developer preview, you can download the JRE6 and install it from .
#5
KennyM
Senior Member
  • Total Posts : 130
  • Reward points : 0
  • Joined: 2009/03/16 04:01:35
  • Location: 0
  • Status: offline
Re:MacOSX 10.7 and above require JRE6 2014/06/11 02:40:24 (permalink)
0
I agree that Microchip should make every effort to keep up with the latest JRE releases. You are SO far behind now it's unbelievable.
For those testing on Yosemite developer preview, you can download the JRE6 and install it from here.

-Kenny
Spider Electronics.
website: www.spider-e.com
#6
XGenerator
Administrator
  • Total Posts : 350
  • Reward points : 0
  • Joined: 2009/10/12 12:11:03
  • Location: 0
  • Status: offline
Re:MacOSX 10.7 and above require JRE6 2014/06/11 11:30:45 (permalink)
0
Update: The current MPLAB X IDE paltform does not run well on OSX and JRE 7. We did already try this.
We do this for the other platforms already since they do work well.
So for the Mac we have to wait until we have migrated to the new Netbean 8 platform which is currently underway.
When we get converted we will ship the latest JRE7 with the IDE.
 
#7
Guest
Super Member
  • Total Posts : 80500
  • Reward points : 0
  • Joined: 2003/01/01 00:00:00
  • Location: 0
  • Status: online
Re:MacOSX 10.7 and above require JRE6 2014/06/15 05:33:58 (permalink)
0
FYI, in OS X Yosemite, MPLABX 2.20 works fine but can't find the PicKit3 with an error:
Connecting to programmer...
The programmer could not be started: Could not connect to tool hardware: PICkit3PlatformTool, com.microchip.mplab.mdbcore.PICKit3Tool.PICkit3DbgToolManager
 
PicKit3 is properly detected in System Information, and MPLABX sees it while configuring the project. 
 
Java is in version 6:
$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)
 
So I guess that a few thing is missing to make it work, but I don't know what. Be careful when testing a beta version, sometimes goes wrong ;)
#8
dsMartyn
Starting Member
  • Total Posts : 34
  • Reward points : 0
  • Joined: 2012/11/03 01:56:06
  • Location: 0
  • Status: offline
Re:MacOSX 10.7 and above require JRE6 2014/08/29 02:37:08 (permalink)
0
Simply re-install MPLABX 2.15 to get your PICkit3 to work again on Yosemite.
 
 
MPLABX works fine in os x 10.10 providing you re-install and install Java 1.6.
 
 Regards
Martyn
post edited by dsMartyn - 2014/08/29 02:43:04
#9
KennyM
Senior Member
  • Total Posts : 130
  • Reward points : 0
  • Joined: 2009/03/16 04:01:35
  • Location: 0
  • Status: offline
Re:MacOSX 10.7 and above require JRE6 2014/08/29 02:59:19 (permalink)
+1 (1)
Java 1.6 is so old now that it must be embarrassing for Microchip to have to keep asking people to re-install this.
It would be so much better if they just fixed the underlying problem with the IDE so that it can work with the latest JRE and JDK.
 
Do not be surprised if Apple do the same to Java as they have already done with Flash.
If your flash player is out of date then Apple will refuse to allow it to run. You are forced to update it.
 
In september/october when the World+Dog downloads OS X 10.10 Yosemite, the update routines remove all java from the system. We need a clear and definitive statement from Microchip on what versions are required, and where to get them.
 
To be honest, I don't understand why they don't just bundle a private copy of Java 1.6 with MPLAB X and install it along side the IDE in a subfolder. Then change the MPLAB X launcher to use that jre and not the system one (if there even is one). That way no other apps outside of MPLAB X would have access to JRE 1.6 and the rest of the system can run whatever version it choses.

-Kenny
Spider Electronics.
website: www.spider-e.com
#10
dsMartyn
Starting Member
  • Total Posts : 34
  • Reward points : 0
  • Joined: 2012/11/03 01:56:06
  • Location: 0
  • Status: offline
Re:MacOSX 10.7 and above require JRE6 2014/08/30 07:55:35 (permalink)
+1 (1)
KennyM
Java 1.6 is so old now that it must be embarrassing for Microchip to have to keep asking people to re-install this.
It would be so much better if they just fixed the underlying problem with the IDE so that it can work with the latest JRE and JDK.
 
Do not be surprised if Apple do the same to Java as they have already done with Flash.
If your flash player is out of date then Apple will refuse to allow it to run. You are forced to update it.
 
In september/october when the World+Dog downloads OS X 10.10 Yosemite, the update routines remove all java from the system. We need a clear and definitive statement from Microchip on what versions are required, and where to get them.
 
To be honest, I don't understand why they don't just bundle a private copy of Java 1.6 with MPLAB X and install it along side the IDE in a subfolder. Then change the MPLAB X launcher to use that jre and not the system one (if there even is one). That way no other apps outside of MPLAB X would have access to JRE 1.6 and the rest of the system can run whatever version it choses.




you can edit the mplab_ide.conf in the mplabx application folder to force another location for JRE, i've tried 7 and 8 and both fail to even load mplabx which sucks!. 
#11
Typepub
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2014/08/31 01:26:59
  • Location: 0
  • Status: offline
Re:MacOSX 10.7 and above require JRE6 2014/08/31 01:30:08 (permalink)
+1 (1)
So testing PicKit3 on Yosemite, I have the same problem "guest" describes. 
 
Yosemite public beta fresh install, Java 6 & MPLabX 2.15 reinstalled. 
 
And I agree with security concerns. Java 6 is really old and not secure.
#12
David Aparicio Campos
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2014/09/28 13:45:14
  • Location: 0
  • Status: offline
Re: MacOSX 10.7 and above require JRE6 2014/09/28 13:49:07 (permalink)
0
Hi
 
I have just updated my installation, I now have JDK 1.7.0_65 in my Mac (OS 10.9.2), and it runs ok with MPLABX IDE v 2.20
 
just to tell that having 1.7 is possible (actually, it is mandatory to run Harmony Configurator plugin 0.6)
#13
SpiderKenny
Senior Member
  • Total Posts : 48
  • Reward points : 0
  • Joined: 2014/10/23 06:59:16
  • Location: 0
  • Status: offline
Re: MacOSX 10.7 and above require JRE6 2014/10/24 04:17:36 (permalink)
+1 (1)
Just a quick head-up for everyone moving to OS 10.10 Yosemite:
 
The install of Yosemite removes all JREs on your machine, so MPLAB X won't load, so you have to go back to the Apple tech note mentioned above and re-install JRE 6.
 
-Kenny

@SpiderElectron
 
#14
Aussie Susan
Super Member
  • Total Posts : 3591
  • Reward points : 0
  • Joined: 2008/08/18 22:20:40
  • Location: Melbourne, Australia
  • Status: offline
Re: MacOSX 10.7 and above require JRE6 2014/10/26 18:06:31 (permalink) ☄ Helpfulby eliotstock 2014/11/06 02:03:58
+1 (1)
Kenny,
I tried this (Java 1.6) but MPLABx 2.20 would start but not recognise the PicKit3. Also tried to Java 1.8 but that did not seem to be recognised either.
I ended up having to downgrade: but the most recent version of the MPLABx archive was 2.05.
So I'm running MPLABx 2.05 and Java 1.6 on the release version of Yosemite.
I am hoping that this will be sorted out *soon*.
Suan
#15
SpiderKenny
Senior Member
  • Total Posts : 48
  • Reward points : 0
  • Joined: 2014/10/23 06:59:16
  • Location: 0
  • Status: offline
Re: MacOSX 10.7 and above require JRE6 2014/10/27 02:24:49 (permalink)
0
Aussie Susan
Kenny,
I tried this (Java 1.6) but MPLABx 2.20 would start but not recognise the PicKit3. Also tried to Java 1.8 but that did not seem to be recognised either.
I ended up having to downgrade: but the most recent version of the MPLABx archive was 2.05.
So I'm running MPLABx 2.05 and Java 1.6 on the release version of Yosemite.
I am hoping that this will be sorted out *soon*.
Suan


Make sure you report it as a bug using this forum!
#16
David Meyer
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2014/11/09 13:29:49
  • Location: 0
  • Status: offline
Re: MacOSX 10.7 and above require JRE6 2014/11/09 13:32:21 (permalink)
0
I have tried every combination of MPLAB X and Java versions on Mac OS 10.10 Yosemite, and all have failed to connect to my PICKit.  I'm using the PKOB on the PIC24F Intelligent Integrated Analog Starter Kit.
 
The error message I'm getting is:
The programmer could not be started: Could not connect to tool hardware: PKOBSKDEPlatformTool, com.microchip.mplab.mdbcore.pkobskde.PKOBSKDEDbgToolManager
 
If anyone can offer some advice, I'd be more than grateful.  My workflow is impossible right now.
#17
ric
Super Member
  • Total Posts : 22728
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: online
Re: MacOSX 10.7 and above require JRE6 2014/11/09 14:42:09 (permalink)
+1 (1)
SpiderKenny
Aussie Susan
Kenny,
I tried this (Java 1.6) but MPLABx 2.20 would start but not recognise the PicKit3. Also tried to Java 1.8 but that did not seem to be recognised either.
I ended up having to downgrade: but the most recent version of the MPLABx archive was 2.05.
So I'm running MPLABx 2.05 and Java 1.6 on the release version of Yosemite.
I am hoping that this will be sorted out *soon*.
Suan


Make sure you report it as a bug using this forum!



Make sure you report it as a bug via support.microchip.com, NOT using this forum.

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#18
lafleur
Starting Member
  • Total Posts : 45
  • Reward points : 0
  • Joined: 2009/10/24 13:43:11
  • Location: 0
  • Status: offline
Re: MacOSX 10.7 and above require JRE6 2014/11/18 12:26:03 (permalink)
0
Yes, the IDE requires 1.6x on OSX, and thats a pain, its very old, unsupported by Apple at this point... but those of us trying to use Harmony find that the Harmony Configurator requires Java 1.7x and it will not install with 1.6x.... Microchip has known about this issue for over 4 mo now and we still do not have a fix in the new 1.01 release of harmony!
 
Microchip, do you test your software prior to release!
 
Let your customer help you, put out alpha and beta version of your tools for us to test and provide you with feedback prior to release!! Look at the open source community, they make this model work for them!!! and it provide solid working software!!! quick feedback on issues, and make's your customer part of your team!!
 
 
post edited by lafleur - 2014/11/18 12:29:25
#19
SpiderKenny
Senior Member
  • Total Posts : 48
  • Reward points : 0
  • Joined: 2014/10/23 06:59:16
  • Location: 0
  • Status: offline
Re: MacOSX 10.7 and above require JRE6 2014/11/19 04:38:25 (permalink)
+2 (2)
One of the problems is that MPLAB X is based on NetBeans, which is not made or maintained by Microchip.
I believe the Mac OS X version of NetBeans which MPLAB X is based on has a dependency on Java 1.6.
 
I, for one, feel that using an IDE which is based on Java is a bad choice. Java is unsupported on Apple Mac platforms for good reason. It is an old architechture, that promised cross-platform drop and run compatibility, but never did deliver it. Java still uses a java virtual machine, and java byte code, in order to achieve cross-platform compatibility. But get this - very few (if any!) java apps are truly cross-platform. Most, including MPLAB X, have different builds for different platforms. (If this were not the case, you'd simply download a single JAR and it would run on any platform). 
So if you are doing a different build for each platform anyway, why not use a properly compiled native language instead? By all means abstract all the hardware dependent stuff, but still maintain a core of common code. It's not hard, and I would bet my life that the man-hours required to do that would be no more than the man hours required to fight with the whole java cross platform nightmare. (I know what I am talking about, I worked for many many years for a company whose whole product line was java based, and supposedly cross-platfiorm).
 
Then at least the processor on which your IDE is running is running the actual IDE, it's not running an emulated virtual machine which is then running the byte code - it's a nonsense approach in the 21st century.
 
Secondly, do not be surprised if one or more of the following happens:
 
1. Apple bans the JRE and the JVM completely from Mac OS X.  (Bye Bye MPLAB X.)
2. Apple bans Java apps from the APP Store.
3. Apple Bans Java apps from the App Store, and then requires that all Apps get distributed via the App store. (Bye Bye MPLAB X)
 
As it is, you are flying in the face of Apple when you use Java, they deliberately do not support it, and at every major update to OS X they remove any JREs which are installed, which gives microchip a nightmare situation for supporting their end users.
 
Microchips eggs are shared between Apple's basket and NetBean's basket. If either one gets dropped, MPLAB X goes back to being a Windows only IDE.
 
Microchip need to wake up and realise that they are in the Hardware business, not the software business. Open source and document all of the programmer interfaces, and either give the XC compilers away for free, or open source them.
 
I rarely chose Microchip parts to go in my new designs now, because the CX compiler license is over £1000 a seat. For me the free license is not good enough, except for the most basic of tasks, without a proper license your code is not optimized.
 
I use parts from Cypress, Intel, Atmel and others that give away professional quality development tools for free.  
Many of them these days are based on GNU (GCC, GDB etc), which is a good quality toolchain, and when things go wrong, there are literally millions of other users out there who can help you.
 
If I were Microchip, On Mac OS X I'd set up custom projects for Xcode that would allow the developer to use Xcode for all the code entry, and still use the XC compilers - Xcode allows full customisation of the tool chain, and provides easy configurations for using external compilers, pre and post compile steps, scripting, extensions and so on - why waste time maintaining a Netbeans configuration which has out of date dependencies, and irritates the users when there is a perfectly workable solution right there on the machine already.
#20
Page: 12 > Showing page 1 of 2
Jump to:
© 2019 APG vNext Commercial Version 4.5