Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile err:[javac invalid flag] #6

Open
supersonic5573 opened this issue Jul 3, 2024 · 11 comments
Open

Compile err:[javac invalid flag] #6

supersonic5573 opened this issue Jul 3, 2024 · 11 comments

Comments

@supersonic5573
Copy link

Compile err: [javac: invalid flag: Files\Java\jdk1.8.0_211\jre\lib\resources.jar;D:\repository\commons-dbutils\commons-dbutils\1.6\commons-dbutils-1.6.jar;D:\repository\com\tongtech\tools\security-meta\1.0.0\security-meta-1.0.0.jar;D:\repository\io\netty\netty-codec-redis\4.1.77.Final\netty-codec-redis-4.1.77.Final.jar;D:\repository\com\opencsv\opencsv\4.4\opencsv-4.4.jar;D:\repository\com\oracle\ojdbc\ojdbc8\19.3.0.0\ojdbc8-19.3.0.0.jar;C:\ProgramUsage: javac use -help for a list of possible options]

@Liubsyy
Copy link
Owner

Liubsyy commented Jul 3, 2024

看起来是路径含有空格问题,但是我在win10上没有复现,试试这个行不行
JarEditor.jar

选择Install plugin from disk

image

@supersonic5573
Copy link
Author

supersonic5573 commented Jul 3, 2024 via email

@supersonic5573
Copy link
Author

supersonic5573 commented Jul 4, 2024 via email

@Liubsyy
Copy link
Owner

Liubsyy commented Jul 4, 2024

我在win10上复现不了这个问题,估计是某些特殊字符冲突了,有兴趣debug一下源码查找问题吗?用社区版的IDEA2020.3 就能运行

@supersonic5573
Copy link
Author

supersonic5573 commented Jul 4, 2024 via email

@Liubsyy
Copy link
Owner

Liubsyy commented Jul 5, 2024

我复现这个bug了,windows上含有路径空格(C:\Program Files**)并且依赖classpath超过一定长度时,就会触发这个bug,v1.5.4已修复

@supersonic5573
Copy link
Author

supersonic5573 commented Jul 5, 2024 via email

@supersonic5573
Copy link
Author

supersonic5573 commented Jul 6, 2024 via email

@Liubsyy
Copy link
Owner

Liubsyy commented Jul 6, 2024

也可以的,你看看有没有SDK,如果没有的话安装SDK插件就行,社区版自带的这个插件SDK

截屏2024-07-06 下午12 06 19

@supersonic5573
Copy link
Author

supersonic5573 commented Jul 6, 2024 via email

@Liubsyy
Copy link
Owner

Liubsyy commented Jul 6, 2024

是的,插件商城还在审核看不到,可以用release中的v1.5.4本地安装插件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants