お客さんのパソコンでプログラムが起動しなくて困っています。
クラスファイルバージョンが高いから実行できないんだと思って、Javaを最新にアップデートしてもらいましたが、また同じエラーがでました。
以下のエラーメッセージです。
Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.UnsupportedClassVersionError: Marcy has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
52までしか開けませんって書いてあるので、52でコンパイルしたいのですが、やり方がわかりません。
クラスファイルバージョンを指定してコンパイルする方法を教えてください。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。