using JavaArgs from JavaLauncher throws error

Grigory Ptashko grigory.ptashko at gmail.com
Wed Mar 9 15:02:33 UTC 2016


Hello.

I’m starting to use openjdk9 on ios.
I’ve managed to compile it for use on a simulator.

My goal is to create an empty JavaArgs object.
I did not create JavaLauncherArgs.properties file.

So I’m doing just this:

_javaArgs = [[JavaArgs alloc] init];

And I get the following error thrown:

-[NSPathStore2 pathForResource:ofType:]: unrecognized selector sent to instance 0x7a643040

I debugged and saw that the exception occurs in the JavaArgs.m here:

      propfile = [[JavaArgs documentsDirectory]
		   pathForResource:propertiesfile ofType:@"properties”];

In my source tree it is line 592.

Am I doing something wrong?
Maybe I’m using the JavaArgs in the wrong way?

Thank you.

--
Best regards,
Grigory Ptashko

+7 (916) 1489766
grigory.ptashko at gmail.com
facebook.com/GrigoryPtashko



More information about the mobile-dev mailing list