Files
weiyu/docs/assets/js/a8c22454.6d6635c7.js
jack ning 412643f18f update
2025-01-03 07:31:48 +08:00

1 line
2.0 KiB
JavaScript

"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3246],{779:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>i,contentTitle:()=>a,default:()=>p,frontMatter:()=>r,metadata:()=>d,toc:()=>l});const d=JSON.parse('{"id":"deploy/depend/jdk","title":"JDK","description":"Installation","source":"@site/i18n/en/docusaurus-plugin-content-docs/current/deploy/depend/jdk.md","sourceDirName":"deploy/depend","slug":"/deploy/depend/jdk","permalink":"/docs/docs/deploy/depend/jdk","draft":false,"unlisted":false,"editUrl":"https://github.com/bytedesk/bytedesk/docs/deploy/depend/jdk.md","tags":[],"version":"current","sidebarPosition":3,"frontMatter":{"sidebar_label":"JDK","sidebar_position":3},"sidebar":"tutorialSidebar","previous":{"title":"Docker","permalink":"/docs/docs/deploy/depend/docker"},"next":{"title":"AI Models","permalink":"/docs/docs/deploy/depend/ai"}}');var o=t(5723),s=t(6246);const r={sidebar_label:"JDK",sidebar_position:3},a="JDK",i={},l=[{value:"Installation",id:"installation",level:2}];function c(e){const n={code:"code",h1:"h1",h2:"h2",header:"header",pre:"pre",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"jdk",children:"JDK"})}),"\n",(0,o.jsx)(n.h2,{id:"installation",children:"Installation"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-bash",children:"# Install OpenJDK 17\nsudo apt update\nsudo apt install openjdk-17-jdk\n# Verify installation\njava -version\n"})})]})}function p(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(c,{...e})}):c(e)}},6246:(e,n,t)=>{t.d(n,{R:()=>r,x:()=>a});var d=t(2155);const o={},s=d.createContext(o);function r(e){const n=d.useContext(s);return d.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),d.createElement(s.Provider,{value:n},e.children)}}}]);