IKVMC5033:将.jar转换为.dll时找不到主类

时间:2018-11-27 10:07:00

标签: java .net dll jar ikvm

使用ikvm-8.1.5717.0将.jar转换为.dll时出现错误。 Java版本是8.0。

C:\Users\LENOVO\Downloads\ikvm-8.1.5717.0\bin>ikvmc D:\JavaProjectDemo\dist\JavaProjectDemo.jar
IKVM.NET Compiler version 8.1.5717.0
Copyright (C) 2002-2015 Jeroen Frijters
http://www.ikvm.net/

note IKVMC0004: Using main class "JavaProject.JavaProject" based on jar manifest
note IKVMC0002: Output file is "JavaProjectDemo.exe"
warning IKVMC0100: Class "org.jfree.chart.event.ChartProgressListener" not found
warning IKVMC0100: Class "javafx.application.Application" not found
warning IKVMC0100: Class "org.jfree.chart.ChartMouseListener" not found
warning IKVMC0100: Class "javafx.event.EventHandler" not found
warning IKVMC0100: Class "javafx.fxml.Initializable" not found
fatal error IKVMC5033: Main class not found

我已经签入manifest.mf

Manifest-Version: 1.0
Implementation-Title: JavaProjectDemo
X-COMMENT: Main-Class will be added automatically by build
Implementation-Version: 1.0
Permissions: sandbox
Codebase: *
JavaFX-Version: 8.0
Class-Path: lib/apache-commons-lang.jar lib/commons-math3-3.0.jar lib/
findpeaksG.jar lib/jama-1.0.3.jar lib/javabuilder.jar lib/javafx-ui-c
ommon.jar lib/jcommon-1.0.23.jar lib/jfreechart-1.0.19.jar lib/mysql-
connector-java-8.0.11.jar lib/sgsmooth.jar
Created-By: JavaFX Packager
Implementation-Vendor: USER
Main-Class: JavaProject.JavaProject

我第一次使用此工具,因此请帮助我解决此错误。

0 个答案:

没有答案