You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Bruno P. Kinoshita (JIRA)" <ji...@apache.org> on 2015/12/30 05:04:49 UTC
[jira] [Commented] (JENA-914) Get Jena working on Android
[ https://issues.apache.org/jira/browse/JENA-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15074609#comment-15074609 ]
Bruno P. Kinoshita commented on JENA-914:
-----------------------------------------
Was reading the news today when I saw one saying that the next Android version will use OpenJDK (here's the article - http://venturebeat.com/2015/12/29/google-confirms-next-android-version-wont-use-oracles-proprietary-java-apis/).
I'm not using Jena on Android, but remembered about this issue. Depending on release schedules, and the time/effort to fix this issue, we may see it fixed eventually by the adoption of OpenJDK in Android (I think).
> Get Jena working on Android
> ---------------------------
>
> Key: JENA-914
> URL: https://issues.apache.org/jira/browse/JENA-914
> Project: Apache Jena
> Issue Type: Improvement
> Components: ARQ, TDB
> Environment: Android
> Reporter: Sören Brunk
> Priority: Minor
> Labels: android
>
> Currently, Jena can't be used on Android as is, due to multiple issues caused by differences between the standard JVM and Android's Dalvik VM.
> The main issues are
> # Package conflicts
> ## The StAX API (javax.xml.stream is missing on Android). It's not possible to just provide the classes as including packages from core Java namespaces doesn't work.
> ## Android provides an ancient version of httpclient that is incompatible with version 4.2 required by Jena.
> # TDB uses java.lang.ManagementFactory in ProcessUtils which isn't available on Android. It's possible to use android.os.Process instead but that requires a dependency on the Android SDK.
> There is a [project|https://github.com/seus-inf/jena-android] that does some post-processing on the Jena packages to create a variant that runs on Android. Some of it might be of use to get Android support into mainline.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)