Title: Unexpected "cannot access java.lang.Object bad class file" error · Issue #7 · scijava/scripting-java · GitHub
Open Graph Title: Unexpected "cannot access java.lang.Object bad class file" error · Issue #7 · scijava/scripting-java
X Title: Unexpected "cannot access java.lang.Object bad class file" error · Issue #7 · scijava/scripting-java
Description: From @rasband: I am using Fiji 2.0.0-rc-25/1.49p and Java 1.8.0_25 [64-bit] on OS X 10.10.1. When I open the "Red_And_Blue.java" file in the Script Editor and click "Run" I get this exception: Started Red_And_Blue.java at Sun Mar 01 16:3...
Open Graph Description: From @rasband: I am using Fiji 2.0.0-rc-25/1.49p and Java 1.8.0_25 [64-bit] on OS X 10.10.1. When I open the "Red_And_Blue.java" file in the Script Editor and click "Run" I get this exception: Star...
X Description: From @rasband: I am using Fiji 2.0.0-rc-25/1.49p and Java 1.8.0_25 [64-bit] on OS X 10.10.1. When I open the "Red_And_Blue.java" file in the Script Editor and click "Run" I get ...
Opengraph URL: https://github.com/scijava/scripting-java/issues/7
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unexpected \"cannot access java.lang.Object bad class file\" error","articleBody":"From @rasband:\n\n\u003e I am using Fiji 2.0.0-rc-25/1.49p and Java 1.8.0_25 [64-bit] on OS X 10.10.1.\n\u003e \n\u003e When I open the \"Red_And_Blue.java\" file in the Script Editor and click \"Run\" I get this exception:\n\u003e \n\u003e ```\n\u003e Started Red_And_Blue.java at Sun Mar 01 16:33:21 EST 2015\n\u003e Compiling 1 file in /var/folders/sj/hs9p4kxn1z9brlkf83ycm4qr0000gn/T/java218593696282971329\n\u003e /var/folders/sj/hs9p4kxn1z9brlkf83ycm4qr0000gn/T/java218593696282971329/src/main/java/Red_And_Blue.java:8: cannot access java.lang.Object\n\u003e bad class file: ZipFileIndexFileObject[/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/ct.sym(META-INF/sym/rt.jar/java/lang/Object.class)]\n\u003e class file has wrong version 52.0, should be 50.0\n\u003e Please remove or make sure it appears in the correct subdirectory of the classpath.\n\u003e public class Red_And_Blue implements PlugIn {\n\u003e ^\n\u003e org.scijava.minimaven.JavaCompiler$CompileError: Compile error: 1\n\u003e at org.scijava.minimaven.JavaCompiler.call(JavaCompiler.java:80)\n\u003e at org.scijava.minimaven.MavenProject.build(MavenProject.java:477)\n\u003e at org.scijava.minimaven.MavenProject.build(MavenProject.java:406)\n\u003e at org.scijava.minimaven.MavenProject.build(MavenProject.java:391)\n\u003e at org.scijava.plugins.scripting.java.JavaEngine.eval(JavaEngine.java:154)\n\u003e at org.scijava.script.ScriptModule.run(ScriptModule.java:175)\n\u003e at org.scijava.module.ModuleRunner.run(ModuleRunner.java:167)\n\u003e at org.scijava.module.ModuleRunner.call(ModuleRunner.java:126)\n\u003e at org.scijava.module.ModuleRunner.call(ModuleRunner.java:65)\n\u003e at org.scijava.thread.DefaultThreadService$2.call(DefaultThreadService.java:164)\n\u003e at java.util.concurrent.FutureTask.run(FutureTask.java:266)\n\u003e at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n\u003e at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n\u003e at java.lang.Thread.run(Thread.java:745)\n\u003e ```\n\nSee also:\n- #6 \n- [Fiji bug #1012](http://fiji.sc/bugzilla/show_bug.cgi?id=1012)\n\nMy initial guess would be something relating to the fact that ImageJ2 [ships a Java 6 tools.jar file](https://github.com/imagej/imagej/issues/105).\n","author":{"url":"https://github.com/ctrueden","@type":"Person","name":"ctrueden"},"datePublished":"2015-03-02T05:01:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/7/scripting-java/issues/7"}
| 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:0c107f18-e61f-4697-684d-dbfa5ea992d2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E5AA:E194E:6896F4:8A17BD:696B469C |
| html-safe-nonce | 6c9e80ba8abf5aa75c07e3daead5bb568ed8e33504cc970846a76e9ac62dad40 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUFBOkUxOTRFOjY4OTZGNDo4QTE3QkQ6Njk2QjQ2OUMiLCJ2aXNpdG9yX2lkIjoiNjc1MDY4MDUzNTIyNDMzNjkyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 15f0e6123c36e281713980c4b6b0f4707241483c7d3cb9f8ed57d8242edfc1c8 |
| hovercard-subject-tag | issue:59438934 |
| 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/scijava/scripting-java/7/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3bd0558378ade4bba113a072b40ff9d29bb1e16e47b871051fbd6bbd51f7fe59/scijava/scripting-java/issues/7 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3bd0558378ade4bba113a072b40ff9d29bb1e16e47b871051fbd6bbd51f7fe59/scijava/scripting-java/issues/7 |
| og:image:alt | From @rasband: I am using Fiji 2.0.0-rc-25/1.49p and Java 1.8.0_25 [64-bit] on OS X 10.10.1. When I open the "Red_And_Blue.java" file in the Script Editor and click "Run" I get this exception: Star... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ctrueden |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/scijava/scripting-java git https://github.com/scijava/scripting-java.git |
| octolytics-dimension-user_id | 1262770 |
| octolytics-dimension-user_login | scijava |
| octolytics-dimension-repository_id | 19124523 |
| octolytics-dimension-repository_nwo | scijava/scripting-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 19124523 |
| octolytics-dimension-repository_network_root_nwo | scijava/scripting-java |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width