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

Exception: Please install the Java environment! #33

Open
R00T-1024 opened this issue Feb 24, 2023 · 7 comments
Open

Exception: Please install the Java environment! #33

R00T-1024 opened this issue Feb 24, 2023 · 7 comments

Comments

@R00T-1024
Copy link

PS D:\Tools\渗透测试\APP\AppinfoScanner_V1.0.8_Releases> python.exe .\app.py android -i C:\Users\Administrator\Downloads\6399.apk
[] Create directory D:\Tools\渗透测试\APP\AppinfoScanner_V1.0.8_Releases\out
[
] AI is analyzing filtering rules......
[*] The filtering rules obtained by AI are as follows: {'.*apache.org', '.*apple.com', '.*jpush.cn', '.*github.com', '.*0.0.0.0', '.*w3school.com.cn', '.*localhost', '.*w3.org', '.*umeng.com', '.android.com', '..amap.com', '.*127.0.0.1', '.*umengcloud.com', '.*slf4j.org'}
系统找不到指定的路径。
java version "1.8.0_351"
Java(TM) SE Runtime Environment (build 1.8.0_351-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.351-b10, mixed mode)
Traceback (most recent call last):
File "D:\Tools\渗透测试\APP\AppinfoScanner_V1.0.8_Releases\app.py", line 79, in
main()
File "D:\Tools\渗透测试\APP\AppinfoScanner_V1.0.8_Releases\app.py", line 75, in main
cli()
File "D:\install\python39\lib\site-packages\click\core.py", line 1130, in call
return self.main(*args, **kwargs)
File "D:\install\python39\lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "D:\install\python39\lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "D:\install\python39\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "D:\install\python39\lib\site-packages\click\core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "D:\Tools\渗透测试\APP\AppinfoScanner_V1.0.8_Releases\app.py", line 35, in android
raise e
File "D:\Tools\渗透测试\APP\AppinfoScanner_V1.0.8_Releases\app.py", line 33, in android
BaseTask("Android", inputs, rules, sniffer, threads, package).start()
File "D:\Tools\渗透测试\APP\AppinfoScanner_V1.0.8_Releases\libs\task\base_task.py", line 47, in start
task_info = self.tast_control()
File "D:\Tools\渗透测试\APP\AppinfoScanner_V1.0.8_Releases\libs\task\base_task.py", line 89, in tast_control
task_info = AndroidTask(cacar_path, self.package).start()
File "D:\Tools\渗透测试\APP\AppinfoScanner_V1.0.8_Releases\libs\task\android_task.py", line 28, in start
raise Exception("Please install the Java environment!")
Exception: Please install the Java environment!

@XXXE88
Copy link

XXXE88 commented Mar 7, 2023

java 环境变量

@R00T-1024
Copy link
Author

设置好了环境变量还是不行

@R00T-1024
Copy link
Author

图片

@R00T-1024
Copy link
Author

图片

@R00T-1024
Copy link
Author

图片

@R00T-1024
Copy link
Author

图片

@lanyinglinglong
Copy link

同样遇到了这个问题

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

3 participants