Re: Java-based app bundle with minimum os version simply crashes on machine with lower os version

2016-04-09 Thread Michael Hall
OS with a lower version is simply to crash Wouldn’t this be all OS and nothing to do with java? Michael Hall

Re: Application Support directory to classpath

2016-03-12 Thread Michael Hall
> Not sure what javapackager does. Perhaps this is helpful for you. javapackager is the current Oracle supported application builder. It automatically handles the signing related for sandboxed. The infinitekind app bundler fork might be worth a look as well though. Michael Hall

Re: Application Support directory to classpath

2016-03-12 Thread Michael Hall
> On Mar 11, 2016, at 3:47 AM, Michael Hall wrote: > >> > > Maybe someone else can answer the question of whether or not this has been > considered for sandboxed java applications so that you actually do get > something different for these properties that is usable?

Re: Application Support directory to classpath

2016-03-11 Thread Michael Hall
> On Mar 11, 2016, at 1:23 AM, Hendrik Schreiber wrote: > > Hey Michael, > >> On Mar 11, 2016, at 02:51, Michael Hall wrote: >> >> I am trying to add some support for my application updating external files. >> Appstore is not necessarily a major concern,

Application Support directory to classpath

2016-03-10 Thread Michael Hall
Support//classes an entry in class path via an URLClassLoader. I am considering something similar for plugin code anyhow,jars,property files, everything going into Application Support. Does this seem like it would violate App Store/sandboxing or anything like that? Michael Hall

nio.2 file attributes for OS X

2016-03-08 Thread Michael Hall
trz> https://www195.pair.com/mik3hall/halfpipe.dmg <https://www195.pair.com/mik3hall/halfpipe.dmg> Although HalfPipe with the nio.2 related hasn’t been uploaded yet. Michael Hall

Re: Setting created timestamp of files using BasicFileAttributeView

2016-03-06 Thread Michael Hall
ight not be for you. Although, I may of had a property switch or something that let you fallback to the default there as well. It’s been a while for most of this, I don’t remember. Michael Hall

Re: Setting created timestamp of files using BasicFileAttributeView

2016-03-06 Thread Michael Hall
> On Mar 6, 2016, at 5:28 AM, Robert Krüger wrote: > > > > On Sat, Mar 5, 2016 at 3:23 PM, Michael Hall <mailto:mik3h...@gmail.com>> wrote: >> On Mar 5, 2016, at 7:15 AM, Robert Krüger > <mailto:krue...@lesspain.de>> wrote: >> >> >

Re: Setting created timestamp of files using BasicFileAttributeView

2016-03-05 Thread Michael Hall
is exposing different native file api’s as attributes. One of them may already support this, I don’t remember. If you find a native api that does support this and my implementation of it’s attributes does not, let me know, I’ll add it. Michael Hall

Re: Quaqua

2015-08-01 Thread Michael Hall
On Aug 1, 2015, at 5:34 AM, Robert Krüger wrote: On Fri, Jul 31, 2015 at 11:26 PM, Michael Hall mailto:mik3h...@gmail.com>> wrote: If of interest to anyone I happened to stumble across this and took a look for some reason… http://www.randelshofer.ch/quaqua/ <http://www.randel

Quaqua

2015-07-31 Thread Michael Hall
If of interest to anyone I happened to stumble across this and took a look for some reason… http://www.randelshofer.ch/quaqua/ <http://www.randelshofer.ch/quaqua/> Downloads Version 9 For Java SE 6 – 8 on OS X 10.5 – 10.9. Supports Intel Macs. Michael Hall

Re: Odd behavior on Max OSX 10.10 with retina display and external monitor.

2015-06-27 Thread Michael Hall
mail.openjdk.java.net/mailman/listinfo/swing-dev <http://mail.openjdk.java.net/mailman/listinfo/swing-dev> might be the best place to try for discussion. Michael Hall

Re: com.apple.concurrent.Dispatch in the modular JDK

2015-05-19 Thread Michael Hall
mewhere maybe. Me? Don’t remember ever hearing of it and it won’t matter at all. Michael Hall

Re: jdeps command

2015-04-30 Thread Michael Hall
On Apr 30, 2015, at 6:21 PM, Mandy Chung wrote: > > > On 04/30/2015 04:17 PM, Michael Hall wrote: >> On Apr 30, 2015, at 5:39 PM, Mandy Chung wrote: >> >>> and existing tool may be removed (e.g. jhat [1]). >> >> Not through Java 9 ea? >> &g

Re: jdeps command

2015-04-30 Thread Michael Hall
On Apr 30, 2015, at 5:39 PM, Mandy Chung wrote: > and existing tool may be removed (e.g. jhat [1]). Not through Java 9 ea? jhat -version jhat version 2.0 (java version 1.9.0-ea) So I would think it might be a little premature for Mike to remove the link on this one? Michael Hall

Re: jdeps command

2015-04-30 Thread Michael Hall
asking if anything else should be included. Mike, would the existing bug report be ok to handle these changes as well or should I update it? Or for now should we leave it at jdeps as far as what is done? Michael Hall

Re: jdeps command

2015-04-30 Thread Michael Hall
ix system set up and not application installs. Maybe the scripts from Unix to other Unix aren’t that common. Or the authors can some day be convinced to stay away from the /usr/bin hardcoded paths. Michael Hall

Re: jdeps command

2015-04-30 Thread Michael Hall
Thanks much Mike. I haven’t done one for a while but it seems to have gotten out there. I still look to have one bug open actually. I was a little surprised to see Java still has a bugreporter slot for Java. 20770788 Bug report was submitted successfully. Michael Hall

Re: jdeps command

2015-04-29 Thread Michael Hall
break. Michael Hall

jdeps command

2015-04-29 Thread Michael Hall
pshot of JDK 7 > commands. If this is true, ‘part of OS install’, I would guess they may not of even been updated for JDK 7, and no new Java commands from Java 6 on will ever have OS X /usr/bin links going forward. That seems to be the concern? Michael Hall

Re: codesign crashes since XCode 6.3/OS X 10.10.3

2015-04-16 Thread Michael Hall
as a duplicate of > 20249918. > Sounds like other people are having this problem as well and Apple is > “working on it”. http://stackoverflow.com/questions/11712322/error-the-timestamp-service-is-not-available-when-using-codesign-on-mac-os-x Michael Hall

Re: codesign crashes since XCode 6.3/OS X 10.10.3

2015-04-12 Thread Michael Hall
anyhow so a valid signature wouldn’t matter. Michael Hall

Re: codesign crashes since XCode 6.3/OS X 10.10.3

2015-04-12 Thread Michael Hall
ucceeded signing an app with a bundled JDK 1.8.0_40? > Just trying to figure out whether it’s me doing something stupid or codesign > is simply broken. Seemed to work fine for me from Terminal My.app: replacing existing signature My.app: signed bundle with Mach-O thin (x86_64) [some.identifier.of.mine] Michael Hall

Fwd: javapackager

2015-04-11 Thread Michael Hall
but I didn’t do a lot with embedded previously. For the Java 9 early access having an embedded test version for the application seemed like a good idea. I got a small test app to work but the full application is currently as shown below. Michael Hall Begin forwarded message: > From: Mich

Re: Deployment

2015-03-31 Thread Michael Hall
anything with it on Windows. Do you know should JavaAppLauncher work with the Java 9 builds? Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe AppConverter convert Apple jvm to openjdk

Re: Deployment

2015-03-31 Thread Michael Hall
s supported non-FX applications, > hence the name change). I haven’t done any JavaFX yet either. Just as long as it isn’t a requirement for use of the deployment tool. Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz HalfPipe Java 6/7 shell app http://www195.pair

Re: MAS codesign requirements break Java app signing

2014-11-09 Thread Michael Hall
files=7 Since it is now “all files” you could verify the file count in your bundle is actually 7? Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe AppConverter convert Apple jvm t

Re: Handling Opening Files

2014-05-05 Thread Michael Hall
n May 5, 2014, at 2:13 AM, Ivan Nikitin wrote: > Hi Joshua, > > We also have Document types record in the Info.plist file of our bundle: > Unchanged from Java 6 to Java 7. There should be no plist differences. No other differences either really, the Java 7 is as far as I know th

Re: Handling Opening Files

2014-05-01 Thread Michael Hall
tion. That should tell you if it works. If it doesn't something maybe is broke now. If it does you can check the source, I believe OSXApplication was the class. Not sure I tested dragging to the Dock though, I usually tested dragging to the app itself. Michael Hall trz nio.2 for OS X

Re: Javafxpackager and splash screen

2014-04-13 Thread Michael Hall
ed with 1.8, you just need to modify the splash path in > your case. Sorry not 1.8. If you think the path is correct you probably have a bug. Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.htm

Re: Javafxpackager and splash screen

2014-04-12 Thread Michael Hall
On Apr 11, 2014, at 9:38 PM, Abu Abdullah wrote: > On Sat, Apr 12, 2014 at 6:19 AM, Michael Hall wrote: > >> i tried even the absolute path in case APP_ROOT is not supported but not >> working. > > I seem to remember support for something like this being added. But a

Re: Javafxpackager and splash screen

2014-04-11 Thread Michael Hall
uldn't matter. The problem would probably be the OS X port support of the splash option. Does it run command line? java -splash:path/to/image ... I think you would need the 1.8 JDK installed to check this. Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz H

Re: JavaAppLauncher and working directory

2014-04-07 Thread Michael Hall
functionality and is active this would probably be the way to go. Given the time, I will look at it. Any handy OS X specific documentation links would be appreciated. Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz HalfPipe Java 6/7 shell app http://www195.pai

Re: JavaAppLauncher and working directory

2014-04-06 Thread Michael Hall
tten to appbundler could expect as I remember right now. Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe AppConverter convert Apple jvm to openjdk apps http://www195.pair.com/mik3hall/index.html#appconverter

Re: JavaAppLauncher and working directory

2014-04-06 Thread Michael Hall
e Info.plist to indicate the embedded JRE? What do you mean by the Launcher.jar has no classes? How does it work without classes? Where are the classes? user.dir for app bundler defaults to your user home directory. Trying to access anything off that inside your application bundle can't reall

Re: RFE: SecretKeyEntry support for Apple KeychainStore

2014-03-12 Thread Michael Hall
nvironment (build 1.7.0_51-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode) Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe AppConverter convert Apple jvm to openjdk apps http://www195.pair.com/mik3hall/index.html#appconverter

Re: FileAttributeView for tags and colors?

2014-02-28 Thread Michael Hall
On Feb 27, 2014, at 4:48 PM, Hendrik Schreiber wrote: > On Feb 27, 2014, at 23:35, Michael Hall wrote: > >> On Feb 27, 2014, at 3:51 PM, Hendrik Schreiber wrote: >> Again fwiw, >> my trz package has support for a lot of different OS X file attributes, >> includ

Re: FileAttributeView for tags and colors?

2014-02-27 Thread Michael Hall
I get there if this API concerns this same sort of thing I would be happy to include it in trz anyhow. It is quite possible to add something like this along with a 'pass through' type file system. So you could possibly come up with it yourself without excessive effort. Michael Hall tr

Re: Unable to get Applescript Engine on some computers

2014-02-27 Thread Michael Hall
On Feb 27, 2014, at 8:30 AM, Paul Taylor wrote: >> > FYI I tried this, and it worked ! > Brilliant thanks solved a big problem for me Glad to hear it worked for you. I hope it is for anyone trying out my application. Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hal

Re: Unable to get Applescript Engine on some computers

2014-02-27 Thread Michael Hall
report I gave earlier details how to do that. 3). Wait for openjdk to correct the configuration file in resources.jar My understanding on that one anyhow. Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/

Re: Environment variables [Partly solved]

2014-02-26 Thread Michael Hall
On Feb 25, 2014, at 2:39 PM, Michael Hall wrote: > I think I did get setting R_HOME to work last night, instead of hanging the > app actually crashed. Any tricks to getting crash logs these days I might of > missed? Fwiw. Set but set incorrectly. Managed to see the error message

Re: Environment variables

2014-02-25 Thread Michael Hall
tirely sure how active that project is either though. If I look into the env vars anymore I'll try to check on that. I think I did get setting R_HOME to work last night, instead of hanging the app actually crashed. Any tricks to getting crash logs these days I might of missed? Any java I do the

Re: Environment variables

2014-02-24 Thread Michael Hall
Given LSEnvironment not seeming to work at all. I should probably set up some other test cases and see if this seems to hold consistently. But given that, I am already considering the workarounds. The property is required by the native code, getenv(), where System.property not quite as preferre

Re: Environment variables

2014-02-24 Thread Michael Hall
interface to the R language. https://rforge.net/rscript/ It seems to require a R_HOME environment variable set. Which so far, I can't give it with LSEnvironment through the plist. Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz HalfPipe Java 6/7 shell app

Re: JavaAppLauncher

2014-02-24 Thread Michael Hall
Any concern? > > That's a known issue, the message is benign as both instances of > JavaLaunchHelper are the same. Thanks. I was thinking I'd bug report that one otherwise. Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz HalfPipe Java 6/7 shell ap

Environment variables

2014-02-22 Thread Michael Hall
ike a HOME directory set? Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe AppConverter convert Apple jvm to openjdk apps http://www195.pair.com/mik3hall/index.html#appconverter

Re: Disabling AppNap from java

2014-02-22 Thread Michael Hall
smalltalk-like Cocoa interface. I think I had some fairly simple ObjectiveC runtime interface code in place for JRuby using FFI This was sort of like JNIDirect which was something Patrick Beard came up with a while back when JDirect was going away, or shortly after it had gone away. Michael Hall

JavaAppLauncher

2014-02-22 Thread Michael Hall
/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/libinstrument.dylib. One of the two will be used. Which one is undefined. Any concern? Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html

Re: AppleScript script engine

2014-02-18 Thread Michael Hall
On Feb 15, 2014, at 8:00 AM, Michael Hall wrote: > Meanwhile, I was still thinking about grabbing the source and setting up > something on github with a dylib/jar pair that developers could add to their > projects > to get this scripting engine without hacking JDK/JRE's.

Re: AppleScript script engine

2014-02-15 Thread Michael Hall
On Feb 15, 2014, at 10:02 AM, Alan Bateman wrote: > On 15/02/2014 14:27, Michael Hall wrote: >> : >> Sorry Scott, put you in Led Zeppelin there for a bit. Except for Scott's >> 1.7.0_51, his and Alan's look to be later versions, so we might assume more >> r

Re: AppleScript script engine

2014-02-15 Thread Michael Hall
t about it. jrunscript7 -q Language ECMAScript 1.8 implemention "Mozilla Rhino" 1.7 release 3 PRERELEASE But it still doesn't work. I guess I'd better figure out the resources configuration file Alan Bateman mentioned. Michael Hall trz nio.2 for OS X http://www195.pair.com/m

Re: AppleScript script engine

2014-02-15 Thread Michael Hall
a JBS account which may > > be used to create and edit bugs. Those without accounts can view bugs > > anonymously." > > Yeah - if you're not an OpenJDK developer, please continue to use > bugs.java.com instead, as before. I guess I'll use bugs.java.com. Mic

Re: AppleScript script engine

2014-02-15 Thread Michael Hall
On Feb 15, 2014, at 10:02 AM, Alan Bateman wrote: > On 15/02/2014 14:27, Michael Hall wrote: >> : >> Sorry Scott, put you in Led Zeppelin there for a bit. Except for Scott's >> 1.7.0_51, his and Alan's look to be later versions, so we might assume more >> r

Re: AppleScript script engine

2014-02-15 Thread Michael Hall
On Feb 15, 2014, at 8:00 AM, Michael Hall wrote: > I have had partial success on this based on this Stack Overllow post… > http://stackoverflow.com/questions/10054252/trying-to-use-rhino-getenginebynamejavascript-returns-null-in-openjdk-7 > Sorry again, one more correction, based on

Re: AppleScript script engine

2014-02-15 Thread Michael Hall
On Feb 15, 2014, at 8:00 AM, Michael Hall wrote: > I'm not sure if Robert Palmer and Alan Bateman somehow just missed out on > this problem or had a easier or better solution? If so I'd be interested in > hearing it. Sorry Scott, put you in Led Zeppelin there for a bit.

Re: AppleScript script engine

2014-02-15 Thread Michael Hall
missed out on this problem or had a easier or better solution? If so I'd be interested in hearing it. Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe AppConverter convert

Re: AppleScript script engine

2014-02-14 Thread Michael Hall
for me then but thanks. I'll verify AppleScript works at all for me and go from there, newer machine might be it somehow. Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe AppC

Re: AppleScript script engine

2014-02-14 Thread Michael Hall
Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode) If you do the jrunscript -q do you show AppleScript? Thanks for the reply, Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz HalfPipe Java 6/7 shell app http:

Re: AppleScript script engine

2014-02-14 Thread Michael Hall
On Feb 13, 2014, at 7:49 PM, Michael Hall wrote: > Is the AppleScript engine no longer not even the default one but no longer > shipped? Not seeing a reply here. Is there a more appropriate forum for OS X specific java questions now? Michael Hall trz nio.2 for OS X http://www195.pa

Re: OSX Java 8 crash on Mavericks

2014-02-14 Thread Michael Hall
out it being your code. Although I would say it's possible it's your code. I usually tend to suspect mine first in these situations. Probably doing something strange to hit a jdk edge case. Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz HalfPipe Java 6/

Re: OSX Java 8 crash on Mavericks

2014-02-14 Thread Michael Hall
0x0001032652e6 main + 102 > 32 com.jthink.songkong 0x000103265274 start + 52 Not an expert but a guess would be in starting up AWT on application launch. Maybe event related, again from the exception maybe too many events or somehow recursive. Michael Hall trz nio.2

Re: AppleScript script engine

2014-02-13 Thread Michael Hall
On Feb 13, 2014, at 7:49 PM, Michael Hall wrote: > Is the AppleScript engine no longer not even the default one but no longer > shipped? > My HalfPipe application has some launch dependencies on it being there. It > was throwing NPE's apparently not getting the engine. >

AppleScript script engine

2014-02-13 Thread Michael Hall
LEASE) Engine Alias: js Engine Alias: rhino Engine Alias: JavaScript Engine Alias: javascript Engine Alias: ECMAScript Engine Alias: ecmascript No AppleScript? Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz HalfPipe Jav

Re: Getting OS X to Install Java 7 on App Launch

2014-02-06 Thread Michael Hall
dialog using AppleScript. Not using one of the native launchers I think means your application will not support AppleEvents like open document. If your application doesn't rely on these it might be a valid alternative. Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.ht

Re: File watching on Oracle JDK on Mac OS X and other platforms

2013-11-02 Thread Michael Hall
companion class for FileManager, mostly based on LaunchServices API's. Determining applications associated with given file types, opening them with specified applications. As I recall, I haven't looked at any of this for a little bit. Michael Hall trz nio.2 for OS X http://www1

Re: File watching on Oracle JDK on Mac OS X and other platforms

2013-11-01 Thread Michael Hall
> > Second, if it is, what is the polling interval on Mac OS X (and can it be > configured)? Don't know This was part of nio.2 for JDK 7. There a couple mailing lists for that. nio-...@openjdk.java.net nio-disc...@openjdk.java.net Michael Hall trz nio.2 for OS X http://www1

Re: Java 7 Application built on OSX 10.9 crashing on startup on 10.7.5

2013-10-31 Thread Michael Hall
On Oct 31, 2013, at 7:10 PM, Paul Taylor wrote: > On 31/10/2013 21:49, Michael Hall wrote: >> On Oct 30, 2013, at 4:38 PM, Paul Taylor wrote: >> >>> /Applications/Jaikoz.app/Contents/MacOS/Jaikoz >> I'm assuming this is the appbundler JavaAppLauncher. Wh

Re: Java 7 Application built on OSX 10.9 crashing on startup on 10.7.5

2013-10-31 Thread Michael Hall
On Oct 30, 2013, at 4:38 PM, Paul Taylor wrote: > /Applications/Jaikoz.app/Contents/MacOS/Jaikoz I'm assuming this is the appbundler JavaAppLauncher. Which branch? java.net project or infinitekind? Which OS version was it built on? Michael Hall trz nio.2 for OS X http://www195.

Application LSEnvironment plist entries not in System.getenv

2013-10-19 Thread Michael Hall
riable itself with a setenv native call. Or going directly after the file(s) by absolute path. The failing error is in the native code, not sure why the workarounds don't avoid it. But for now anyhow it appears to be a show stopper for java application use of this code. Michael Hall trz nio