Cannot run install.app on Mac OSX 10.10.5

101 views
Skip to first unread message

An Nguyễn

unread,
Oct 25, 2015, 12:39:23 AM10/25/15
to iDempiere
Hi all, I'm trying to setup enviroment to work with iDempiere 2.1 on my macbook. My env is:
- Mac OSX 10.10.5
- Eclipse Mars 4.5.0
- iDempiere 2.1
- Buckminster - Core 1.7.0.v20150718-2211
- Java SE-1.6 [1.6.0_65] / Java SE-17. [1.7.0_75] / Java SE-1.8 [1.8.0_60]

When after importing and materializing projects, I try to run install.app with the default settings for Execution environment is Java SE-1.6, and there's an error:
java.lang.UnsupportedClassVersionError: org/compiere/util/CLogFile : Unsupported major.minor version 51.0
Previously I used compiler 1.7 as default Eclipse's compiler. Thought it is the problem, I tried to change Java compiler to 1.6, also change the specific settings for org.adempiere.install project, but the error still happens.

Then I tried to change Execution environment of install.app to Java SE-1.7, but with that settings the console was totally empty, nothing happens.

Can anyone please give me some advices?
Thank you very much.

redhuan d. oon

unread,
Oct 25, 2015, 6:27:08 PM10/25/15
to iDempiere
Try Clean All and Build projects. Also check thoroughly in Preferences and properties default to see 1.6 works.

Luis Amesty

unread,
Oct 26, 2015, 10:14:47 AM10/26/15
to iDempiere
Try on Eclipse Preferences ->> Plug-in Development --> target Platform.
Select Target Platform that you created, an then on Enviroment Tab, 
Normally you leave empty Values for Variables.
I put Asterisk ('*') on Operating System, Windowing System and Architecture.
It works fine for me on Eclipse LUNA.
I hope this help you

An Nguyễn

unread,
Oct 26, 2015, 11:36:22 AM10/26/15
to iDempiere
Hi, thank you all for supporting~
I tried to change "-arch ${target.arch}" to "-arch x86" as an article I found on the Internet and it works now. They said it's a known issue of swing on Mac OS. I'm not very clear, however it works..
Reply all
Reply to author
Forward
0 new messages