解编译的java程序不是在IDEA中编译的 [英] Decompiled java program is not compiled in IDEA

查看:76
本文介绍了解编译的java程序不是在IDEA中编译的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<pre>Hello! Recently i found  a compiled code (.jar file). I had decompiled it and brought changes to the program.And now t can not compile it. Code doesn't have any mistakes, because it can't be compiled even if you wouldn't bring any changes

This is almost first experience with Java.

Link to the decompiled code:  https://drive.google.com/open?id=1IJmBystDDtjTLsRpl5SRzhzYy9Q6YL2v

Iused the menu bar: File->Project structure->Artifacts->
Add->Jar..  There t need to choose the mail class, but no one  of all classes can be choosen as the main. How can i solve that problem to compile the project?
Screenshot: <a href="https://drive.google.com/open?id=1VADwRzMUkiaN_pTBSAuc3xAJqUKmucri">Безымянный.png - Google Drive</a>[<a href="https://drive.google.com/open?id=1VADwRzMUkiaN_pTBSAuc3xAJqUKmucri" target="_blank" title="New Window">^</a>] 





我尝试了什么:



我想在IDEA中创建.jar文件但是无法创建



What I have tried:

Itried to create .jar file in IDEA, but it couldn't be created

推荐答案

并非所有反编译器都相同。



没有保证(无论是暗示还是暗示) )反编译代码将编译(再次)。



这是个人经历,与其他任何人无关。



就像摘苹果并在其中找到蠕虫一样。选另一个苹果。或者找另一个果园。
Not all "decompilers" are made equal.

There is no warranty (made or implied) that "decompiled" code will compile (again).

This is a personal experience and has nothing to do with anyone else.

Much like picking an apple and finding a worm in it. Pick another apple. Or find another orchard.


这篇关于解编译的java程序不是在IDEA中编译的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆