pickit2 in MPLABX and 64bit Linux fix

arhi noticed that the latest MPLABX has pickit2 support, but it doesn’t work under 64bit Linux. He managed to fix it by tweaking his Java install, how-to instructions here.
Via the forum.
This entry was posted in compilers, PIC and tagged Linux, MPLABX.

Comments
C18 doesn’t work under Linux mplab-X. I made some scripts to fix errors in the headers. You can find it at http://www.microchip.com/forums/fb.ashx?m=571179
The package also contains scripts and instructions to compile C18 libraries under Linux.
Everything worked as advertised up until it actually started building the peripherals from pmc_common, at which point every include gives:
unable to locate xxxx.h
It can’t seem to find the h folder up 2 levels in the v3.36 folder. What am I doing wrong?
BTW, copied src and h folders from Windows v3.37 installation.
If you are building the large libraries, the problem may be that setvars_large doesn’t set the include path. Please add -I${MCC_BASE}/h to MCC_OPTIONS (as seen in setvars_small), run . ./setvars_large and try again.
Thanks…as is usually the case, I discovered this AFTER posting the question…sigh!!!
Anyhoo, got it woking late last night.
Thanks for your work on the scripts…saves time not having to reinvent the wheel!