Opened 6 years ago
Closed 6 years ago
#56477 closed defect (worksforme)
openni @1.5.7.10: No Java runtime present, requesting install.
Reported by: | ogourgue (Olivier Gourgue) | Owned by: | ctreleaven (Craig Treleaven) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.4 |
Keywords: | Cc: | ||
Port: | openni |
Description (last modified by mf2k (Frank Schima))
- macOS 10.13.4
- Xcode 9.3.1
- MacPorts 2.4.4 and all ports updated
Attachments (1)
Change History (12)
Changed 6 years ago by ogourgue (Olivier Gourgue)
comment:1 Changed 6 years ago by ctreleaven (Craig Treleaven)
No Java runtime present, requesting install. 1613 :info:build make[1]: *** [../../../Bin/x64-Release/org.openni.jar] Error 1 1614 :info:build make: *** [Wrappers/OpenNI.java] Error 2
Please install Java 6 for OS X and try again. Note that Java 8 does not work.
Apple's Java 6 for OS X is available at:
https://support.apple.com/kb/DL1572?locale=en_US
Please confirm if this allows the build to succeed.
comment:2 Changed 6 years ago by mf2k (Frank Schima)
Owner: | set to ryandesign |
---|---|
Status: | new → assigned |
In the future, please use WikiFormatting and Cc the port maintainer(s) (port info --maintainers openni
).
comment:3 Changed 6 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:4 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Summary: | openni failed to build → openni @1.5.7.10: No Java runtime present, requesting install. |
comment:5 Changed 6 years ago by ctreleaven (Craig Treleaven)
Resolution: | invalid |
---|---|
Status: | closed → reopened |
I asked the reporter to verify that the port built successfully since we have limited buildbot coverage.
comment:6 Changed 6 years ago by ctreleaven (Craig Treleaven)
Owner: | changed from ryandesign to ctreleaven |
---|---|
Status: | reopened → accepted |
comment:7 Changed 6 years ago by jmroot (Joshua Root)
Would be nice if something (the java portgroup?) could detect this situation and provide a more helpful error. Not sure how it would be done though.
comment:8 Changed 6 years ago by ogourgue (Olivier Gourgue)
To be sure I understand well, you want me to reinstall Java 6 over my Java 8, right? It might have severe implications on other applications I'm using, no?
comment:9 Changed 6 years ago by ctreleaven (Craig Treleaven)
I'm not a java expert; backups are always a good idea, etc. However, I understand that java is designed to accommodate multiple versions being installed and active at once. My system has Java 6 and Java 8 installed with no apparent ill effects.
Please let me know if you are unwilling to proceed and I'll close the ticket as "unverified".
comment:10 Changed 6 years ago by ogourgue (Olivier Gourgue)
With the link provided above, Java 6 and Java 8 are indeed installed side by side. That solved my problem and openni is now installed correctly. Thanks for the support!
comment:11 Changed 6 years ago by ctreleaven (Craig Treleaven)
Resolution: | → worksforme |
---|---|
Status: | accepted → closed |
Thanks for reporting back.
log file