Skip to content

使用docker作为沙箱时找不到java #1096

@zerofancy

Description

@zerofancy

What happened?

KotlinProject.tar.gz

Debian 13,使用docker作为沙箱,进入一个gradle项目时告诉qwen“尝试编译当前项目”,qwen报告找不到java并尝试使用apt安装,且无法成功。
宿主系统中有java环境,且无沙箱时qwen可以正常编译项目。

What did you expect to happen?

希望qwen可以自动在沙箱中配置java环境,正常编译项目

Client information

Client Information

Run qwen to enter the interactive CLI, then run the /about command.

$ qwen /about

> /about

╭────────────────────────────────────────────────────────────────────────────────╮
│                                                                                │
│ About Qwen Code                                                                │
│                                                                                │
│ CLI Version                442a9aed58064a7a049e872eb5ea4b495db9897d            │
│ Git Commit                 442a9ae                                             │
│ Model                      coder-model                                         │
│ Sandbox                    0.2.3-0                                             │
│ OS Platform                linux                                               │
│ OS Arch                    x64                                                 │
│ OS Release                 6.12.57+deb13-amd64                                 │
│ Node.js Version            v20.19.5                                            │
│ NPM Version                10.8.2                                              │
│ Session ID                 3a02b474-96cc-4aa8-b344-840a6962c8cb                │
│ Auth Method                qwen-oauth                                          │
│ Memory Usage               214.4 MB                                            │
│                                                                                │
╰────────────────────────────────────────────────────────────────────────────────╯

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/supportUser support and help requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions