Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Eclipse Scout on OS X Java 7
Eclipse Scout on OS X Java 7 [message #1006987] Sun, 03 February 2013 15:12 Go to next message
Aqua Macboy is currently offline Aqua Macboy
Messages: 10
Registered: February 2013
Junior Member
Hello, I am trying to run an Eclipse Scout app on Mac OS X.

While I can start the client with Java 6, following the hints on http://wiki.eclipse.org/Scout/Tutorial/Setup_a_New_Eclipse_Scout_Project, I am running into troubles with Oracle JDK 7 (jdk1.7.0_13, which is a must for our project). The Swing client simply does not start, also when playing with all the program/VM options.

I cannot add d32, since Java 7 is 64bit on OS X. Does Eclipse Scout support Java 7?

Thanks
Dan
Re: Eclipse Scout on OS X Java 7 [message #1007113 is a reply to message #1006987] Mon, 04 February 2013 13:59 Go to previous messageGo to next message
Stephan Leicht Vogt is currently offline Stephan Leicht Vogt
Messages: 102
Registered: February 2010
Location: Baden Switzerland
Senior Member

Hi

I'm working on this problem but unfortunately I don't have a solution at the moment. There is already a bug open: https://bugs.eclipse.org/bugs/show_bug.cgi?id=398650. I'll write any new insights regarding this problem into the bug. Please add yourself into the cc list to keep you informed.

Greetings
Stephan
Re: Eclipse Scout on OS X Java 7 [message #1007150 is a reply to message #1007113] Mon, 04 February 2013 15:51 Go to previous messageGo to next message
Aqua Macboy is currently offline Aqua Macboy
Messages: 10
Registered: February 2013
Junior Member
Thank you for your response, Stephan. I managed to startup the Eclipse Scout client using

Program arguments:
-os ${target.os} -arch win32 -nl ${target.nl} -consoleLog --launcher.secondThread


VM:
-Xms40m -Xmx512m -Xdock:icon=../Resources/Eclipse.icns  -Xms64m -XX:MaxPermSize=256m -Dapple.laf.useScreenMenuBar=true


but I do not think it is a reliable solution using win32 on OS X Smile
Re: Eclipse Scout on OS X Java 7 [message #1007203 is a reply to message #1007150] Mon, 04 February 2013 23:00 Go to previous messageGo to next message
Stephan Leicht Vogt is currently offline Stephan Leicht Vogt
Messages: 102
Registered: February 2010
Location: Baden Switzerland
Senior Member

That is unbelievable. How did you come up with this idea to change the arch argument to win32? Nice! But I want to know what this changes in the startup process. I'll dig deep and investigate. This can't be the workaround and certainly not the "solution".

Thanks and you hear from me.

Greetings Stephan

[Updated on: Mon, 04 February 2013 23:58]

Report message to a moderator

Re: Eclipse Scout on OS X Java 7 [message #1007429 is a reply to message #1007150] Tue, 05 February 2013 20:10 Go to previous messageGo to next message
Stephan Leicht Vogt is currently offline Stephan Leicht Vogt
Messages: 102
Registered: February 2010
Location: Baden Switzerland
Senior Member

See comment: https://bugs.eclipse.org/bugs/show_bug.cgi?id=212617#c21
It seems to me, that the binary for the 64bit equinox launcher has the bug. It works fine with these program arguments: -os ${target.os} -arch x86 -ws {target.ws} -nl ${target.nl}

So "x86" is a little less funky than "win32" in the arch argument, but the outcome is the same. It wont load the 64bit equinox.launcher binary but the 32bit.

Greetings Stephan
Re: Eclipse Scout on OS X Java 7 [message #1059602 is a reply to message #1007429] Mon, 20 May 2013 18:28 Go to previous message
Adrian Moser
Messages: 67
Registered: March 2011
Member
For me, adding -nosplash is sufficient to launch Eclipse Scout applications on Mac OS X with Java 7, no need to change the architecture.

Since Scout uses its own splash screen, the SWT splash screen is not required.

See the comment written by Thomas Schindl here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=212617#c23
Previous Topic:Swing: Default-Field Height to small?
Next Topic:Tabs at bottom instead of top
Goto Forum:
  


Current Time: Wed Oct 01 16:33:53 GMT 2014

Powered by FUDForum. Page generated in 0.07842 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software