mirror of
https://gitee.com/270580156/weiyu.git
synced 2026-05-15 11:47:54 +00:00
1 line
2.0 KiB
JavaScript
1 line
2.0 KiB
JavaScript
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3246],{3273:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>r,contentTitle:()=>i,default:()=>p,frontMatter:()=>a,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":"Redis","permalink":"/docs/docs/deploy/depend/redis"},"next":{"title":"Ollama","permalink":"/docs/docs/deploy/depend/ollama"}}');var s=t(5723),o=t(6246);const a={sidebar_label:"JDK",sidebar_position:3},i="JDK",r={},l=[{value:"Installation",id:"installation",level:2}];function c(e){const n={code:"code",h1:"h1",h2:"h2",header:"header",pre:"pre",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"jdk",children:"JDK"})}),"\n",(0,s.jsx)(n.h2,{id:"installation",children:"Installation"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.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,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(c,{...e})}):c(e)}},6246:(e,n,t)=>{t.d(n,{R:()=>a,x:()=>i});var d=t(2155);const s={},o=d.createContext(s);function a(e){const n=d.useContext(o);return d.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),d.createElement(o.Provider,{value:n},e.children)}}}]); |