Title: App is not compiled because of wrong javaHome · Issue #776 · processing/processing-android · GitHub
Open Graph Title: App is not compiled because of wrong javaHome · Issue #776 · processing/processing-android
X Title: App is not compiled because of wrong javaHome · Issue #776 · processing/processing-android
Description: I cannot compile sketches in android mode, because my java-21 installation interferes with processing. The build process should use processing's java ('Wanted'), but is using my installation instead ("Actual'). org.gradle.tooling.GradleC...
Open Graph Description: I cannot compile sketches in android mode, because my java-21 installation interferes with processing. The build process should use processing's java ('Wanted'), but is using my installation instea...
X Description: I cannot compile sketches in android mode, because my java-21 installation interferes with processing. The build process should use processing's java ('Wanted'), but is using my install...
Opengraph URL: https://github.com/processing/processing-android/issues/776
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"App is not compiled because of wrong javaHome","articleBody":"I cannot compile sketches in android mode, because my java-21 installation interferes with processing. The build process should use processing's java ('Wanted'), but is using my installation instead (\"Actual').\n\n```\norg.gradle.tooling.GradleConnectionException: Could not execute build using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-7.2-bin.zip'.\n...\nCaused by: org.gradle.launcher.daemon.client.DaemonConnectionException: The newly created daemon process has a different context than expected.\nIt won't be possible to reconnect to this daemon. Context mismatch: \nJava home is different.\nWanted: DefaultDaemonContext[uid=null,javaHome=/Applications/Processing.app/Contents/runtime/Contents/Home,daemonRegistryDir=/Users/tom/.gradle/daemon,pid=62920,idleTimeout=null,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens,java.base/java.nio.charset=ALL-UNNAMED,--add-opens,java.base/java.net=ALL-UNNAMED,--add-opens,java.base/java.util.concurrent.atomic=ALL-UNNAMED,-Xmx1536m,-Dfile.encoding=UTF-8,-Duser.country=DE,-Duser.language=de,-Duser.variant]\nActual: DefaultDaemonContext[uid=4478df6f-645a-4043-b5d8-1328302305ff,javaHome=/Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home,daemonRegistryDir=/Users/tom/.gradle/daemon,pid=62966,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens,java.base/java.nio.charset=ALL-UNNAMED,--add-opens,java.base/java.net=ALL-UNNAMED,--add-opens,java.base/java.util.concurrent.atomic=ALL-UNNAMED,-Xmx1536m,-Dfile.encoding=UTF-8,-Duser.country=DE,-Duser.language=de,-Duser.variant]\n\n```","author":{"url":"https://github.com/hkiel","@type":"Person","name":"hkiel"},"datePublished":"2025-04-21T15:20:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/776/processing-android/issues/776"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:053ba848-65af-41d2-a59d-131c4544dcee |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8888:28F9BD:E74C52:13C5B73:696FFB35 |
| html-safe-nonce | bcdb0694b95c8fe42cf8ed50adc9ca3f5b530191a91d7fe62a989bc15e6f1317 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODg4OjI4RjlCRDpFNzRDNTI6MTNDNUI3Mzo2OTZGRkIzNSIsInZpc2l0b3JfaWQiOiI4MDIzMTE5NDQzMzk5NzkwNjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 832a7df37bbe2e9388746020888c3ad19dbc3cb3ca4320ba86936a8642dfd3da |
| hovercard-subject-tag | issue:3008665295 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing-android/776/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8d9eb55a3d35c1d052a8949b65483c5c07af4512b9b51f8f9f68f73f56f2605f/processing/processing-android/issues/776 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8d9eb55a3d35c1d052a8949b65483c5c07af4512b9b51f8f9f68f73f56f2605f/processing/processing-android/issues/776 |
| og:image:alt | I cannot compile sketches in android mode, because my java-21 installation interferes with processing. The build process should use processing's java ('Wanted'), but is using my installation instea... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hkiel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0366807b865cee6776368231232f84d6c8096e6bce43f701a4fb28ea795ec427 |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing-android git https://github.com/processing/processing-android.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 21987988 |
| octolytics-dimension-repository_nwo | processing/processing-android |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21987988 |
| octolytics-dimension-repository_network_root_nwo | processing/processing-android |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 33f356bb2fb58726ccb2f26395bf8ddc9a2d9eaa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width