复制一个 javaws 应用以进行编辑

huangapple 未分类评论61阅读模式
英文:

Duplicate a javaws application to edit

问题

我使用一个带有jnlp文件的javaws应用程序。我想在本地启动它,并能够修改计算机上的源代码以适应我的需求。我使用Eclipse作为集成开发环境(IDE)。

我已经打开了jnlp文件并下载了所有的jar文件,然后我使用JD-GUI和CFR来反编译该应用程序。
在Eclipse中,我导入了所有不同的资源jar包,并将应用程序反编译的源代码放在src文件夹中。我试图纠正这两个软件产生的所有错误,但应用程序仍然由于它们的错误而崩溃。

请注意,如果我只将应用程序作为jar文件导入,它会按预期工作,但我无法编辑这些文件,因为它们是class文件。

英文:

I use an javaws app that comes with a jnlp file. I want to launch it locally and be able to modify the source code on my computer to fit my exact needs. I use Eclipse as IDE.

I've opened the jnlp file and downloaded all the jar files, then I have used JD-GUI and CFR to decompile the app.
In Eclipse, I've imported all the different ressources jar and put the app decompiled source code within the src folder. I've tried to correct every mistake done by both softwares but the app still crashes due to their mistakes.

Note, if i just import the app as a jar file, it works as expected but i can't edit the files, indeed it's a class file.

huangapple
  • 本文由 发表于 2020年4月10日 21:37:31
  • 转载请务必保留本文链接:https://java.coder-hub.com/61141469.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定