[{"data":1,"prerenderedAt":293},["ShallowReactive",2],{"Categories":3,"NavIndexCategoriesCountFooter":203,"content-\u002F2015\u002F01\u002F29\u002Fswitching-java-version-on-mac\u002F":204},[4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,68,70,71,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202],{"category":5},"System Administration",{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},"Software Development",{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":27},{"category":27},{"category":67},"Drones & RC",{"category":69},"DIY Projects",{"category":67},{"category":72},"Photography",{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":67},{"category":67},{"category":72},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":5},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":67},{"category":67},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":72},{"category":67},{"category":138},"3D Printing - Laser Cutting - CNC",{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":5},{"category":138},{"category":27},{"category":27},{"category":138},{"category":138},{"category":72},{"category":158},"Photography,3D Printing - Laser Cutting - CNC",{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":67},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":181},"Home Assistant",{"category":181},{"category":72},{"category":27},{"category":27},{"category":72},{"category":138},{"category":5},{"category":72},{"category":72},{"category":138},{"category":27},{"category":181},{"category":181},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},191,{"id":205,"title":206,"body":207,"category":279,"date":280,"description":213,"embedImage":279,"extension":281,"image":279,"intro":282,"meta":283,"navigation":284,"path":285,"seo":286,"series":279,"sitemap":287,"stem":288,"tags":289,"__hash__":292},"content\u002F2015\u002F01\u002F29\u002Fswitching-java-version-on-mac.md","Switching java version on mac",{"type":208,"value":209,"toc":277},"minimark",[210,214,270,273],[211,212,213],"p",{},"Can't remember where I picked this up - but some handy aliases I use for setting java version (given that you have the required version installed):",[215,216,221],"pre",{"className":217,"code":218,"language":219,"meta":220,"style":220},"language-shell shiki shiki-themes github-dark","alias j6='export JAVA_HOME=$(\u002Fusr\u002Flibexec\u002Fjava_home -v 1.6)'\nalias j7='export JAVA_HOME=$(\u002Fusr\u002Flibexec\u002Fjava_home -v 1.7)'\nalias j8='export JAVA_HOME=$(\u002Fusr\u002Flibexec\u002Fjava_home -v 1.8)'\n","shell","",[222,223,224,244,257],"code",{"__ignoreMap":220},[225,226,229,233,237,240],"span",{"class":227,"line":228},"line",1,[225,230,232],{"class":231},"snl16","alias",[225,234,236],{"class":235},"s95oV"," j6",[225,238,239],{"class":231},"=",[225,241,243],{"class":242},"sU2Wk","'export JAVA_HOME=$(\u002Fusr\u002Flibexec\u002Fjava_home -v 1.6)'\n",[225,245,247,249,252,254],{"class":227,"line":246},2,[225,248,232],{"class":231},[225,250,251],{"class":235}," j7",[225,253,239],{"class":231},[225,255,256],{"class":242},"'export JAVA_HOME=$(\u002Fusr\u002Flibexec\u002Fjava_home -v 1.7)'\n",[225,258,260,262,265,267],{"class":227,"line":259},3,[225,261,232],{"class":231},[225,263,264],{"class":235}," j8",[225,266,239],{"class":231},[225,268,269],{"class":242},"'export JAVA_HOME=$(\u002Fusr\u002Flibexec\u002Fjava_home -v 1.8)'\n",[211,271,272],{},"This handles picking the right version (1.6 from apple, 1.7 and 1.8 from oracle) etc.",[274,275,276],"style",{},"html pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":220,"searchDepth":246,"depth":246,"links":278},[],null,"2015-01-29 15:52 +0100","md","Handy aliases for switching between java versions.",{},true,"\u002F2015\u002F01\u002F29\u002Fswitching-java-version-on-mac",{"title":206,"description":213},{"loc":285},"2015\u002F01\u002F29\u002Fswitching-java-version-on-mac",[290,291],"java","mac","sRFpZzj_BmBaeFandDBVMXDqGYmeOYnfft_fclivu-w",1775293010156]