Closed GoogleCodeExporter closed 8 years ago
Workaround under 10.5.2+
launch with a terminal:
/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java -jar
./StockPortfolio/StockPortfolioLauncher.jar
Original comment by olivier....@gmail.com
on 21 Jul 2011 at 3:30
Original comment by alex.bel...@gmail.com
on 22 Jul 2011 at 4:03
Same problem as #43 regarding executable files.. This makes it even more
compelling to go with the tarball (.tar.gz) approach.
Original comment by olivier....@gmail.com
on 6 Sep 2011 at 4:04
Here's a new wrapper script that can handle both issue #43 and this one here.
Again, it must be executable otherwise users will have to make it executable.
Original comment by olivier....@gmail.com
on 6 Sep 2011 at 4:39
Attachments:
Issue 43 has been merged into this issue.
Original comment by alex.bel...@gmail.com
on 9 Sep 2011 at 9:09
Original comment by alex.bel...@gmail.com
on 9 Sep 2011 at 9:24
Turns out a .sh extension is not executable by doucle-click on OSX. A .command
extension works though. It needed some changes because the cwd is set to the
User's home by the environment.
It does leave a terminal window open.
So to recap:
- 10.6+ have Java 6 installed in their PATH so they can double-click on the now
executable jar and it'll work
- 10.5.2+ is supported as long as you double-click the attached .command
launcher
I read about the .sh limitation / .command fix in the following article (not
the actual article but in the comments):
http://hints.macworld.com/article.php?story=20030728055235121
Original comment by olivier....@gmail.com
on 21 Sep 2011 at 3:22
Attachments:
Thanks a lot! I added all this to the build, the next version (0.21) include a
tar.gz archive for MAC/Linux users with the scripts you provided!
Original comment by alex.bel...@gmail.com
on 21 Sep 2011 at 4:06
Original issue reported on code.google.com by
olivier....@gmail.com
on 21 Jul 2011 at 3:03