Success on iPad
Tobi
tobi at ultramixer.com
Mon Feb 1 08:56:17 UTC 2016
Hi Bob,
shall your Xcode project (RunJava) work on iOS Arm64 too?
Tobi
> Am 29.01.2016 um 15:34 schrieb Bob Vandette <bob.vandette at oracle.com>:
>
> Please check the mail archives.
>
> Bob.
>
>> On Jan 29, 2016, at 3:47 AM, Tobi <tobi at ultramixer.com <mailto:tobi at ultramixer.com>> wrote:
>>
>> Hi Bob,
>>
>> the patch solved the problem but the RunJava app is crashing while calling "JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args);“
>>
>> Thread 1: signal SIGSEGV
>>
>> Is it a known issue?
>>
>> Best regards,
>> Tobi
>>
>>
>>
>>
>>> Am 29.01.2016 um 01:49 schrieb Bob Vandette <bob.vandette at oracle.com <mailto:bob.vandette at oracle.com>>:
>>>
>>> This patch should solve that issue:
>>>
>>>
>>> diff --git a/hotspot/make/bsd/makefiles/vm.make b/hotspot/make/bsd/makefiles/vm.make
>>> --- a/make/bsd/makefiles/vm.make
>>> +++ b/make/bsd/makefiles/vm.make
>>> @@ -118,6 +118,9 @@
>>> # Extra flags from gnumake's invocation or environment
>>> CFLAGS += $(EXTRA_CFLAGS)
>>> LFLAGS += $(EXTRA_CFLAGS)
>>> +ifeq ($(OPENJDK_TARGET_OS), ios)
>>> +ASFLAGS += $(EXTRA_CFLAGS)
>>> +endif
>>>
>>>
>>>
>>> Bob.
>>>
>>>> On Jan 28, 2016, at 6:05 PM, Tobi <tobi at ultramixer.com <mailto:tobi at ultramixer.com>> wrote:
>>>>
>>>> Hi Bob,
>>>>
>>>> thank you very much for pointing me to your Xcode project. Unfortunately I get the following error:
>>>>
>>>>
>>>> ld: in /Applications/Developer/Java/RunJava/java/a/libjvm.a(bsd_x86_64.o), building for iOS simulator, but linking in object file built for OSX, for architecture x86_64
>>>> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>>>>
>>>> Do you have any further hint for me?
>>>>
>>>> Tobi
>>>>
>>>>
>>>>
>>>>
>>>>> Am 28.01.2016 um 23:25 schrieb Bob Vandette <bob.vandette at oracle.com <mailto:bob.vandette at oracle.com>>:
>>>>>
>>>>>
>>>>> We’ve pushed our JavaLauncher to the mobile/dev repository. This is an Xcode Framework that
>>>>> makes it easier to start a Java program on iOS. If you use this Framework, the transition to Android
>>>>> will be a lot easier.
>>>>>
>>>>> l'll be providing some samples that use this Framework and possibly an Xcode project at some point.
>>>>>
>>>>> You can always use the Java Invocation APIs (JNI_CreateJavaVM, etc). Here’s an Xcode project
>>>>> that we used at JavaOne this year.
>>>>>
>>>>> http://cr.openjdk.java.net/~bobv/mobile/j1/xcode/ <http://cr.openjdk.java.net/~bobv/mobile/j1/xcode/>
>>>>>
>>>>>
>>>>> Bob.
>>>>>
>>>>>
>>>>>> On Jan 28, 2016, at 5:10 PM, Tobi <tobi at ultramixer.com <mailto:tobi at ultramixer.com>> wrote:
>>>>>>
>>>>>> Hi Johan,
>>>>>>
>>>>>> I just build Mobile SDK too but now ask me how to start a Java(FX) app on iOS? Do you have a working Xcode project? How do you start the JVM with in Objective C?
>>>>>>
>>>>>> Best regards,
>>>>>> Tobi
>>>>>>
>>>>>
>>>>
>>>
>>
>
More information about the mobile-dev
mailing list