ghealer/GUI_Tools

Ubuntu打开出现Syntax error: word unexpected (expecting ")")错误

SmllXzBZ opened this issue · 1 comments

我用Ubuntu16.04 64bit打开GUI_Tools出现错误如下:

/home/xxx/GUI_Tools/Java_path/java_1.8/bin/java: 1: /home/xxx/GUI_Tools/Java_path/java_1.8/bin/java: ����������
                                 �: not found
/home/xxx/GUI_Tools/Java_path/java_1.8/bin/java: 3: /home/xxx/GUI_Tools/Java_path/java_1.8/bin/java: Syntax error: word unexpected (expecting ")")

尝试直接用命令行启动单个工具:./Java_path/java_1.8/bin/java -jar ./gui_webshell/Godzilla/Godzilla.jar,出现下面错误:

bash: ./Java_path/java_1.8/bin/java: cannot execute binary file: Exec format error

这个该怎么解决呀?

应该是java的问题,我目前java_path里带的java是mac版本的和win版本的,linux的没有带
如有需要linux使用,建议在linux下将java环境安装好,修改setting文件里的java_path即可