[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-java-home-is-not-set-and-no-java":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":18,"titleAccent":19,"lead":20,"facts":23,"why":38,"log":41,"fix":81,"engine":85,"related":89,"pitch":96},"nextjs","java-home-is-not-set-and-no-java","ERROR","Nextjs",{"description":9},"Learn what causes ERROR, how PanelAlpha Engine responds to it during deployment.",[11,14,16],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":7,"href":15},"\u002Fapps\u002Fstacks\u002Fnextjs",{"label":17},"ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.","ERROR: ","JAVA_HOME is not set and no 'java' command could be found in your PATH.",[21],{"text":22},"Error recorded 1 times in PanelAlpha Engine deploys on Nextjs. The deploy log below is the recorded failure output.",[24,29,32,34],{"label":25,"value":26,"tone":27,"tooltip":28},"Type","Error","err","An error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.",{"label":30,"value":31},"Seen","1 times",{"label":33,"value":7},"Where",{"label":35,"value":36,"tooltip":37},"Status","Observed","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":39,"body":40},"",[],{"heading":42,"block":43},"What the log looks like",{"header":44,"lines":45},"Deploy log",[46,49,53,57,61,65,69,73,77],{"segments":47},[48],{"text":17},{"segments":50},[51],{"text":52},"Please set the JAVA_HOME variable in your environment to match the",{"segments":54},[55],{"text":56},"location of your Java installation.",{"segments":58},[59],{"text":60},"An error occurred while processing files for the @nx\u002Fdotnet plugin (Defined at nx.json#plugins[15]).",{"segments":62},[63],{"text":64},"- Failed to run msbuild-analyzer: spawn dotnet ENOENT",{"segments":66},[67],{"text":68},"An error occurred while processing files for the @nx\u002Fmaven plugin (Defined at nx.json#plugins[19]).",{"segments":70},[71],{"text":72},"- Maven analysis failed with code 2",{"segments":74},[75],{"text":76},"Stderr: .\u002Fmvnw: 114: Cannot fork",{"segments":78},[79],{"text":80},"An error occurred while processing files for the @nx\u002Fstorybook\u002Fplugin plugin (Defined at nx.js…",{"heading":39,"steps":82,"block":83},[],{"header":39,"lines":84},[],{"heading":39,"body":86,"block":87},[],{"header":39,"lines":88},[],{"heading":90,"items":91},"Apps affected",[92],{"title":93,"badge":94,"tone":27,"href":95},"Nx","1 occurrence","\u002Fapps\u002Fnrwl\u002Fnx",{"heading":97,"body":98,"footNote":99,"docsLabel":100,"docsHref":101},"Try PanelAlpha Engine yourself.","The easiest way to turn your server into a safe, controlled environment for your AI agent. Deploy, manage and maintain any project from Claude Code, Cursor, Codex or any other MCP client. Open source under Apache 2.0, free to run.","Requires Ubuntu 24.04 or 26.04 · 2 GB RAM · 1 CPU","Read the documentation","https:\u002F\u002Fpanelalpha.com\u002Fdocs"]