Skip Menu |

This queue is for tickets about the Inline-Java CPAN distribution.

Report information
The Basics
Id: 116917
Status: resolved
Priority: 0/
Queue: Inline-Java

People
Owner: Nobody in particular
Requestors: PLICEASE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Does not find Java on recent OS X / Oracle SE JVM
Seems to be looking in the wrong place: Entering Inline-Java-0.58 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.18) Running Makefile.PL Configuring Inline-Java-0.58 ... Welcome to the Inline::Java installation procedure. Using /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK as J2SDK directory. Java 2 SDK installation directory '/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK' does not exist. N/A ! Configure failed for Inline-Java-0.58. See /Users/ollisg/.cpanm/work/1471002726.41069/build.log for details. crux% ls /System/Library/Frameworks/JavaVM.framework/Versions/Current /System/Library/Frameworks/JavaVM.framework/Versions/Current@ crux% ls /System/Library/Frameworks/JavaVM.framework/Versions/Current/ Commands/ Frameworks/ Headers/ JavaPluginCocoa.bundle/ JavaVM* Modules/ Resources/ _CodeSignature/ I tried both 0.53 and 0.58 it isn't clear which the "correct" version is.
Hi PLICEASE! On Fri Aug 12 07:55:02 2016, PLICEASE wrote: Show quoted text
> Seems to be looking in the wrong place: > > Entering Inline-Java-0.58 > Checking configure dependencies from META.json > Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.18) > Running Makefile.PL > Configuring Inline-Java-0.58 ... > Welcome to the Inline::Java installation procedure. > > Using /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK > as J2SDK directory. > > Java 2 SDK installation directory > '/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK' does > not exist. > N/A > ! Configure failed for Inline-Java-0.58. See > /Users/ollisg/.cpanm/work/1471002726.41069/build.log for details. > crux% ls /System/Library/Frameworks/JavaVM.framework/Versions/Current > /System/Library/Frameworks/JavaVM.framework/Versions/Current@ > crux% ls /System/Library/Frameworks/JavaVM.framework/Versions/Current/ > Commands/ Frameworks/ Headers/ JavaPluginCocoa.bundle/ JavaVM* > Modules/ Resources/ _CodeSignature/ > > I tried both 0.53 and 0.58 it isn't clear which the "correct" version > is.
Could you try this on the latest released version? (0.64) Also could you try what it shows in the Makefile.PL shows to aid in discovery? JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/Current/JavaVM cpanm Inline::Java If that works, and you can confirm what the correct JVM location is on OS X, I'll be pleased to update the default location!
The just-released 0.65 includes code that will check both locations. I will close this ticket but if that doesn't function right please reopen!