[fusion_builder_container type=»flex» hundred_percent=»no» hundred_percent_height=»no» hundred_percent_height_scroll=»no» align_content=»stretch» flex_align_items=»flex-start» flex_justify_content=»flex-start» flex_wrap=»wrap» hundred_percent_height_center_content=»yes» equal_height_columns=»no» container_tag=»div» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» status=»published» border_style=»solid» box_shadow=»no» box_shadow_blur=»0″ box_shadow_spread=»0″ gradient_start_position=»0″ gradient_end_position=»100″ gradient_type=»linear» radial_direction=»center center» linear_angle=»180″ background_position=»center center» background_repeat=»no-repeat» fade=»no» background_parallax=»none» enable_mobile=»no» parallax_speed=»0.3″ background_blend_mode=»none» background_slider_skip_lazy_loading=»no» background_slider_loop=»yes» background_slider_pause_on_hover=»no» background_slider_slideshow_speed=»5000″ background_slider_animation=»fade» background_slider_direction=»up» background_slider_animation_speed=»800″ video_aspect_ratio=»16:9″ video_loop=»yes» video_mute=»yes» pattern_bg=»none» pattern_bg_style=»default» pattern_bg_opacity=»100″ pattern_bg_blend_mode=»normal» mask_bg=»none» mask_bg_style=»default» mask_bg_opacity=»100″ mask_bg_transform=»left» mask_bg_blend_mode=»normal» absolute=»off» absolute_devices=»small,medium,large» sticky=»off» sticky_devices=»small-visibility,medium-visibility,large-visibility» sticky_transition_offset=»0″ scroll_offset=»0″ animation_direction=»left» animation_speed=»0.3″ animation_delay=»0″ filter_hue=»0″ filter_saturation=»100″ filter_brightness=»100″ filter_contrast=»100″ filter_invert=»0″ filter_sepia=»0″ filter_opacity=»100″ filter_blur=»0″ filter_hue_hover=»0″ filter_saturation_hover=»100″ filter_brightness_hover=»100″ filter_contrast_hover=»100″ filter_invert_hover=»0″ filter_sepia_hover=»0″ filter_opacity_hover=»100″ filter_blur_hover=»0″ admin_toggled=»no»][fusion_builder_row][fusion_builder_column type=»1_1″ layout=»1_1″ align_self=»auto» content_layout=»column» align_content=»flex-start» valign_content=»flex-start» content_wrap=»wrap» center_content=»no» column_tag=»div» target=»_self» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» order_medium=»0″ order_small=»0″ hover_type=»none» border_style=»solid» box_shadow=»no» box_shadow_blur=»0″ box_shadow_spread=»0″ background_type=»single» gradient_start_position=»0″ gradient_end_position=»100″ gradient_type=»linear» radial_direction=»center center» linear_angle=»180″ lazy_load=»avada» background_position=»left top» background_repeat=»no-repeat» background_blend_mode=»none» background_slider_skip_lazy_loading=»no» background_slider_loop=»yes» background_slider_pause_on_hover=»no» background_slider_slideshow_speed=»5000″ background_slider_animation=»fade» background_slider_direction=»up» background_slider_animation_speed=»800″ sticky=»off» sticky_devices=»small-visibility,medium-visibility,large-visibility» absolute=»off» filter_type=»regular» filter_hover_element=»self» filter_hue=»0″ filter_saturation=»100″ filter_brightness=»100″ filter_contrast=»100″ filter_invert=»0″ filter_sepia=»0″ filter_opacity=»100″ filter_blur=»0″ filter_hue_hover=»0″ filter_saturation_hover=»100″ filter_brightness_hover=»100″ filter_contrast_hover=»100″ filter_invert_hover=»0″ filter_sepia_hover=»0″ filter_opacity_hover=»100″ filter_blur_hover=»0″ transform_type=»regular» transform_hover_element=»self» transform_scale_x=»1″ transform_scale_y=»1″ transform_translate_x=»0″ transform_translate_y=»0″ transform_rotate=»0″ transform_skew_x=»0″ transform_skew_y=»0″ transform_scale_x_hover=»1″ transform_scale_y_hover=»1″ transform_translate_x_hover=»0″ transform_translate_y_hover=»0″ transform_rotate_hover=»0″ transform_skew_x_hover=»0″ transform_skew_y_hover=»0″ transition_duration=»300″ transition_easing=»ease» scroll_motion_devices=»small-visibility,medium-visibility,large-visibility» animation_direction=»left» animation_speed=»0.3″ animation_delay=»0″ last=»true» border_position=»all» first=»true» min_height=»» link=»»][fusion_text hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» animation_direction=»left» animation_speed=»0.3″ animation_delay=»0″]
¿Has oido la expresión «instalar el JDK es fácil si sabes cómo»? Pues es cierta, pero lo primero para que sea cierta es saber instalar el JDK, paso a paso, sabiendo qué es lo que pasa en el sistema, cómo se configura.
Pues vamos a ello. Voy a instalar el JDK de Java, pero es que además te voy a enseñar los cambios que ocurren en el sistema en cada paso.
Los pasos que voy a seguir son los siguientes:
[/fusion_text][fusion_table_of_contents allowed_heading_tags=»h2,h3″ limit_container=»all» select_custom_headings=»» ignore_headings_by_classes=»» ignore_headings_by_words=»Para saber más|Related Posts|Comentarios» hide_hidden_titles=»yes» highlight_current_heading=»no» enable_cache=»yes» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» class=»» id=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»20px» padding_top=»» padding_right=»» padding_bottom=»» padding_left=»» fusion_font_family_item_font=»» fusion_font_variant_item_font=»» item_font_size=»» item_line_height=»» item_letter_spacing=»» item_text_transform=»» counter_type=»decimal» icon=»fa-flag fas» counter_separator=»dot» custom_counter_separator=»» list_indent=»» item_text_overflow=»no» item_color=»» hue=»» saturation=»» lightness=»» alpha=»» counter_color=»» item_color_hover=»» item_bg_color_hover=»» hover_counter_color=»» item_highlighted_color=»» item_highlighted_bg_color=»» highlighted_counter_color=»» item_hover_highlighted_color=»» item_hover_highlighted_bg_color=»» highlighted_hover_counter_color=»» item_padding_top=»» item_padding_right=»» item_padding_bottom=»» item_padding_left=»» item_radius_top_left=»» item_radius_top_right=»» item_radius_bottom_right=»» item_radius_bottom_left=»» item_margin_top=»» item_margin_bottom=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»» /][fusion_title title_type=»text» marquee_direction=»left» marquee_speed=»15000″ rotation_effect=»bounceIn» display_time=»1200″ highlight_effect=»circle» loop_animation=»off» highlight_width=»9″ highlight_top_margin=»0″ before_text=»» rotation_text=»» highlight_text=»» after_text=»» title_link=»off» link_url=»» link_target=»_self» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» class=»» id=»» content_align_medium=»» content_align_small=»» content_align=»left» size=»2″ animated_font_size=»» fusion_font_family_title_font=»» fusion_font_variant_title_font=»» font_size=»» line_height=»» letter_spacing=»» text_transform=»» text_color=»» hue=»» saturation=»» lightness=»» alpha=»» animated_text_color=»» text_shadow=»no» text_shadow_vertical=»» text_shadow_horizontal=»» text_shadow_blur=»0″ text_shadow_color=»» text_stroke=»no» text_stroke_size=»1″ text_stroke_color=»» text_overflow=»none» margin_top_medium=»» margin_right_medium=»» margin_bottom_medium=»» margin_left_medium=»» margin_top_small=»» margin_right_small=»» margin_bottom_small=»» margin_left_small=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»» margin_top_mobile=»» margin_bottom_mobile=»» gradient_font=»no» gradient_start_color=»» gradient_end_color=»» gradient_start_position=»0″ gradient_end_position=»100″ gradient_type=»linear» radial_direction=»center center» linear_angle=»180″ highlight_color=»» style_type=»default» sep_color=»» link_color=»» link_hover_color=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»»]
Introducción
[/fusion_title][fusion_text columns=»» column_min_width=»» column_spacing=»» rule_style=»» rule_size=»» rule_color=»» hue=»» saturation=»» lightness=»» alpha=»» user_select=»» content_alignment_medium=»» content_alignment_small=»» content_alignment=»» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» class=»» id=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»» fusion_font_family_text_font=»» fusion_font_variant_text_font=»» font_size=»» line_height=»» letter_spacing=»» text_transform=»» text_color=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»» logics=»»]
Una descarga suele ser muy sencilla, vas a una página web y haces clic en el enlace de la descarga, ya está.
Pero Java tiene muchos años y mucha evolución.
El lenguaje Java se llamó en sus inicios Oak o Green, fue desarrollado por James Gosling a principios de los años 90. Sun Microsystems lanzó la primera versión oficial de Java en 1995. Pero no fue hasta la versión JDK 1.0.2, lanzada en 1996, que el lenguaje adoptó el nombre definitivo de «Java».
Pues desde sus inicios hasta ahora, especialmente en los últimos años, y más especialmente desde el 2010 en que Oracle compró a Sun Microsystems con el Java incorporado, han ido apareciendo diferentes «flavors» (sabores) que son diferentes implementaciones.
Pero recuerda: Existe un lenguaje Java central con sintaxis y características estandarizadas.
Existen diferentes implementaciones del Java Development Kit (JDK), que es el software necesario para escribir y ejecutar programas Java.
Cada JDK se compila con características u optimizaciones específicas.
Qué JDK es mejor ti va a depender de tus necesidades y requisitos específicos. Los factores que se pueden considerar son:
- Licencia: ¿Necesitas un JDK gratuito y de código abierto, o estás dispuesto a pagar por soporte comercial?
- Plataforma: ¿Qué sistema operativo y arquitectura de hardware estás utilizando?
- Funciones: ¿Necesitas funciones u optimizaciones específicas, como mejoras de rendimiento o soporte ampliado?
- Soporte: ¿Necesitas soporte profesional para tu JDK?
Para empezar la distribución Eclipse Temurin OpenJDK que ofrece las mismas funciones principales y el mismo rendimiento que Oracle JDK, pero con una licencia de código abierto y un sólido respaldo de la comunidad.
Puedes descargar la distribución Eclipse Temurin OpenJDK desde el sitio web de Adoptium: https://adoptium.net/
[/fusion_text][fusion_imageframe image_id=»11017|full» aspect_ratio=»» custom_aspect_ratio=»100″ aspect_ratio_position=»» skip_lazy_load=»» lightbox=»no» gallery_id=»» lightbox_image=»» lightbox_image_id=»» alt=»Eclipse Temurin Latest Releases JDK 21.0.3+9-LTS» link=»» linktarget=»_self» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» class=»» id=»» max_width=»» sticky_max_width=»» align_medium=»none» align_small=»none» align=»none» mask=»» custom_mask=»» mask_size=»» mask_custom_size=»» mask_position=»» mask_custom_position=»» mask_repeat=»» style_type=»» blur=»» stylecolor=»» hue=»» saturation=»» lightness=»» alpha=»» hover_type=»none» magnify_full_img=»» magnify_duration=»120″ scroll_height=»100″ scroll_speed=»1″ margin_top_medium=»» margin_right_medium=»» margin_bottom_medium=»» margin_left_medium=»» margin_top_small=»» margin_right_small=»» margin_bottom_small=»» margin_left_small=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»» bordersize=»» bordercolor=»» borderradius=»» z_index=»» caption_style=»off» caption_align_medium=»none» caption_align_small=»none» caption_align=»none» caption_title=»» caption_text=»» caption_title_tag=»2″ fusion_font_family_caption_title_font=»» fusion_font_variant_caption_title_font=»» caption_title_size=»» caption_title_line_height=»» caption_title_letter_spacing=»» caption_title_transform=»» caption_title_color=»» caption_background_color=»» fusion_font_family_caption_text_font=»» fusion_font_variant_caption_text_font=»» caption_text_size=»» caption_text_line_height=»» caption_text_letter_spacing=»» caption_text_transform=»» caption_text_color=»» caption_border_color=»» caption_overlay_color=»» caption_margin_top=»» caption_margin_right=»» caption_margin_bottom=»» caption_margin_left=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»» filter_hue=»0″ filter_saturation=»100″ filter_brightness=»100″ filter_contrast=»100″ filter_invert=»0″ filter_sepia=»0″ filter_opacity=»100″ filter_blur=»0″ filter_hue_hover=»0″ filter_saturation_hover=»100″ filter_brightness_hover=»100″ filter_contrast_hover=»100″ filter_invert_hover=»0″ filter_sepia_hover=»0″ filter_opacity_hover=»100″ filter_blur_hover=»0″]https://laweb360.com/wp-content/uploads/2024/07/Eclipse-Temurin-Latest-Releases-JDK-21.0.39-LTS.webp[/fusion_imageframe][fusion_title title_type=»text» marquee_direction=»left» marquee_speed=»15000″ rotation_effect=»bounceIn» display_time=»1200″ highlight_effect=»circle» loop_animation=»off» highlight_width=»9″ highlight_top_margin=»0″ before_text=»» rotation_text=»» highlight_text=»» after_text=»» title_link=»off» link_url=»» link_target=»_self» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» class=»» id=»» content_align_medium=»» content_align_small=»» content_align=»left» size=»2″ animated_font_size=»» fusion_font_family_title_font=»» fusion_font_variant_title_font=»» font_size=»» line_height=»» letter_spacing=»» text_transform=»» text_color=»» hue=»» saturation=»» lightness=»» alpha=»» animated_text_color=»» text_shadow=»no» text_shadow_vertical=»» text_shadow_horizontal=»» text_shadow_blur=»0″ text_shadow_color=»» text_stroke=»no» text_stroke_size=»1″ text_stroke_color=»» text_overflow=»none» margin_top_medium=»» margin_right_medium=»» margin_bottom_medium=»» margin_left_medium=»» margin_top_small=»» margin_right_small=»» margin_bottom_small=»» margin_left_small=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»» margin_top_mobile=»» margin_bottom_mobile=»» gradient_font=»no» gradient_start_color=»» gradient_end_color=»» gradient_start_position=»0″ gradient_end_position=»100″ gradient_type=»linear» radial_direction=»center center» linear_angle=»180″ highlight_color=»» style_type=»default» sep_color=»» link_color=»» link_hover_color=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»»]
Descarga del JDK de Java
[/fusion_title][fusion_text columns=»» column_min_width=»» column_spacing=»» rule_style=»» rule_size=»» rule_color=»» hue=»» saturation=»» lightness=»» alpha=»» user_select=»» content_alignment_medium=»» content_alignment_small=»» content_alignment=»» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» class=»» id=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»» fusion_font_family_text_font=»» fusion_font_variant_text_font=»» font_size=»» line_height=»» letter_spacing=»» text_transform=»» text_color=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»» logics=»»]
- Ve al sitio web: Adoptium
- Elige tu plataforma: selecciona tu sistema operativo (Windows, macOS, Linux, etc.) y arquitectura (x64, AArch64, etc.) en los menús desplegables.
- Selecciona la versión de Java: elige la versión de Java deseada (por ejemplo, Java 11, Java 17, Java 21).
- Haz clic en el botón «Última versión»: esto te llevará a la página de descarga de la última versión estable de Temurin para la plataforma y versión que hayas elegido.
- Descarga el instalador o el archivo: dependiendo de tu plataforma, verás opciones para descargar un instalador (p. ej., .msi para Windows, .pkg para macOS) o un archivo (p. ej., .tar.gz para Linux). Elije el formato apropiado para tu sistema.
- Verifica la suma de verificación: es una buena práctica verificar la suma de verificación del archivo descargado para asegurarse de que no se haya dañado durante el proceso de descarga. El sitio web de Adoptium proporciona la suma de verificación para cada versión, que puedes comparar con la suma de verificación de tu archivo descargado.
- Instala o extrae el JDK: sigue las instrucciones de tu plataforma para instalar el JDK (usando el instalador .msi o .pkg) o extraerlo (del archivo .tar.gz).
[/fusion_text][fusion_syntax_highlighter theme=»» language=»x-sh» line_numbers=»yes» line_wrapping=»» copy_to_clipboard=»yes» copy_to_clipboard_text=»Copiar en el portapapeles» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» class=»» id=»» font_size=»» border_size=»» border_color=»» hue=»» saturation=»» lightness=»» alpha=»» border_style=»» background_color=»» line_number_background_color=»» line_number_text_color=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»»]Y3VybCAtTyBodHRwczovL2dpdGh1Yi5jb20vYWRvcHRpdW0vdGVtdXJpbjIxLWJpbmFyaWVzL3JlbGVhc2VzL2Rvd25sb2FkL2pkay0yMS4wLjMlMkI5L09wZW5KREsyMVUtamRrX3g2NF9saW51eF9ob3RzcG90XzIxLjAuM185LnRhci5neg==[/fusion_syntax_highlighter][fusion_title title_type=»text» marquee_direction=»left» marquee_speed=»15000″ rotation_effect=»bounceIn» display_time=»1200″ highlight_effect=»circle» loop_animation=»off» highlight_width=»9″ highlight_top_margin=»0″ before_text=»» rotation_text=»» highlight_text=»» after_text=»» title_link=»off» link_url=»» link_target=»_self» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» class=»» id=»» content_align_medium=»» content_align_small=»» content_align=»left» size=»2″ animated_font_size=»» fusion_font_family_title_font=»» fusion_font_variant_title_font=»» font_size=»» line_height=»» letter_spacing=»» text_transform=»» text_color=»» hue=»» saturation=»» lightness=»» alpha=»» animated_text_color=»» text_shadow=»no» text_shadow_vertical=»» text_shadow_horizontal=»» text_shadow_blur=»0″ text_shadow_color=»» text_stroke=»no» text_stroke_size=»1″ text_stroke_color=»» text_overflow=»none» margin_top_medium=»» margin_right_medium=»» margin_bottom_medium=»» margin_left_medium=»» margin_top_small=»» margin_right_small=»» margin_bottom_small=»» margin_left_small=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»» margin_top_mobile=»» margin_bottom_mobile=»» gradient_font=»no» gradient_start_color=»» gradient_end_color=»» gradient_start_position=»0″ gradient_end_position=»100″ gradient_type=»linear» radial_direction=»center center» linear_angle=»180″ highlight_color=»» style_type=»default» sep_color=»» link_color=»» link_hover_color=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»»]Preparación[/fusion_title][fusion_text columns=»» column_min_width=»» column_spacing=»» rule_style=»» rule_size=»» rule_color=»» hue=»» saturation=»» lightness=»» alpha=»» user_select=»» content_alignment_medium=»» content_alignment_small=»» content_alignment=»» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» class=»» id=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»» fusion_font_family_text_font=»» fusion_font_variant_text_font=»» font_size=»» line_height=»» letter_spacing=»» text_transform=»» text_color=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»» logics=»»]Abre una terminal.
Crea un directorio donde deseas instalar el JDK (por ejemplo, /usr/lib/jvm)[/fusion_text][fusion_syntax_highlighter theme=»» language=»x-sh» line_numbers=»yes» line_wrapping=»» copy_to_clipboard=»yes» copy_to_clipboard_text=»Copiar en el portapapeles» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» class=»» id=»» font_size=»» border_size=»» border_color=»» hue=»» saturation=»» lightness=»» alpha=»» border_style=»» background_color=»» line_number_background_color=»» line_number_text_color=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»»]c3VkbyBta2RpciAvdXNyL2xpYi9qdm0=[/fusion_syntax_highlighter][fusion_text columns=»» column_min_width=»» column_spacing=»» rule_style=»» rule_size=»» rule_color=»» hue=»» saturation=»» lightness=»» alpha=»» user_select=»» content_alignment_medium=»» content_alignment_small=»» content_alignment=»» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» class=»» id=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»» fusion_font_family_text_font=»» fusion_font_variant_text_font=»» font_size=»» line_height=»» letter_spacing=»» text_transform=»» text_color=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»» logics=»»]Muévete al directorio creado[/fusion_text][fusion_syntax_highlighter theme=»» language=»x-sh» line_numbers=»yes» line_wrapping=»» copy_to_clipboard=»yes» copy_to_clipboard_text=»Copiar en el portapapeles» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» class=»» id=»» font_size=»» border_size=»» border_color=»» hue=»» saturation=»» lightness=»» alpha=»» border_style=»» background_color=»» line_number_background_color=»» line_number_text_color=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»»]Y2QgL3Vzci9saWIvanZt[/fusion_syntax_highlighter][fusion_title title_type=»text» marquee_direction=»left» marquee_speed=»15000″ rotation_effect=»bounceIn» display_time=»1200″ highlight_effect=»circle» loop_animation=»off» highlight_width=»9″ highlight_top_margin=»0″ before_text=»» rotation_text=»» highlight_text=»» after_text=»» title_link=»off» link_url=»» link_target=»_self» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» class=»» id=»» content_align_medium=»» content_align_small=»» content_align=»left» size=»2″ animated_font_size=»» fusion_font_family_title_font=»» fusion_font_variant_title_font=»» font_size=»» line_height=»» letter_spacing=»» text_transform=»» text_color=»» hue=»» saturation=»» lightness=»» alpha=»» animated_text_color=»» text_shadow=»no» text_shadow_vertical=»» text_shadow_horizontal=»» text_shadow_blur=»0″ text_shadow_color=»» text_stroke=»no» text_stroke_size=»1″ text_stroke_color=»» text_overflow=»none» margin_top_medium=»» margin_right_medium=»» margin_bottom_medium=»» margin_left_medium=»» margin_top_small=»» margin_right_small=»» margin_bottom_small=»» margin_left_small=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»» margin_top_mobile=»» margin_bottom_mobile=»» gradient_font=»no» gradient_start_color=»» gradient_end_color=»» gradient_start_position=»0″ gradient_end_position=»100″ gradient_type=»linear» radial_direction=»center center» linear_angle=»180″ highlight_color=»» style_type=»default» sep_color=»» link_color=»» link_hover_color=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»»]
Extracción
[/fusion_title][fusion_text columns=»» column_min_width=»» column_spacing=»» rule_style=»» rule_size=»» rule_color=»» hue=»» saturation=»» lightness=»» alpha=»» user_select=»» content_alignment_medium=»» content_alignment_small=»» content_alignment=»» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» class=»» id=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»» fusion_font_family_text_font=»» fusion_font_variant_text_font=»» font_size=»» line_height=»» letter_spacing=»» text_transform=»» text_color=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»» logics=»»]Copia el archivo descargado al directorio /usr/lib/jvm.
Extrae el archivo:[/fusion_text][fusion_syntax_highlighter theme=»» language=»x-sh» line_numbers=»yes» line_wrapping=»» copy_to_clipboard=»yes» copy_to_clipboard_text=»Copiar en el portapapeles» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» class=»» id=»» font_size=»» border_size=»» border_color=»» hue=»» saturation=»» lightness=»» alpha=»» border_style=»» background_color=»» line_number_background_color=»» line_number_text_color=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»»]c3VkbyB0YXIgLXh6dmYgamRrLTIxX1t2ZXJzaW9uX2VzcGVjaWZpY2FdX2xpbnV4LXg2NF9iaW4udGFyLmd6[/fusion_syntax_highlighter][fusion_text columns=»» column_min_width=»» column_spacing=»» rule_style=»» rule_size=»» rule_color=»» hue=»» saturation=»» lightness=»» alpha=»» user_select=»» content_alignment_medium=»» content_alignment_small=»» content_alignment=»» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» class=»» id=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»» fusion_font_family_text_font=»» fusion_font_variant_text_font=»» font_size=»» line_height=»» letter_spacing=»» text_transform=»» text_color=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»» logics=»»]Renombra el directorio extraído para mayor claridad (opcional):[/fusion_text][fusion_syntax_highlighter theme=»» language=»x-sh» line_numbers=»yes» line_wrapping=»» copy_to_clipboard=»yes» copy_to_clipboard_text=»Copiar en el portapapeles» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» class=»» id=»» font_size=»» border_size=»» border_color=»» hue=»» saturation=»» lightness=»» alpha=»» border_style=»» background_color=»» line_number_background_color=»» line_number_text_color=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»»]c3VkbyBtdiBqZGstMjFfW3ZlcnNpb25fZXNwZWNpZmljYV0gamRrLTIx[/fusion_syntax_highlighter][fusion_title title_type=»text» marquee_direction=»left» marquee_speed=»15000″ rotation_effect=»bounceIn» display_time=»1200″ highlight_effect=»circle» loop_animation=»off» highlight_width=»9″ highlight_top_margin=»0″ before_text=»» rotation_text=»» highlight_text=»» after_text=»» title_link=»off» link_url=»» link_target=»_self» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» class=»» id=»» content_align_medium=»» content_align_small=»» content_align=»left» size=»2″ animated_font_size=»» fusion_font_family_title_font=»» fusion_font_variant_title_font=»» font_size=»» line_height=»» letter_spacing=»» text_transform=»» text_color=»» hue=»» saturation=»» lightness=»» alpha=»» animated_text_color=»» text_shadow=»no» text_shadow_vertical=»» text_shadow_horizontal=»» text_shadow_blur=»0″ text_shadow_color=»» text_stroke=»no» text_stroke_size=»1″ text_stroke_color=»» text_overflow=»none» margin_top_medium=»» margin_right_medium=»» margin_bottom_medium=»» margin_left_medium=»» margin_top_small=»» margin_right_small=»» margin_bottom_small=»» margin_left_small=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»» margin_top_mobile=»» margin_bottom_mobile=»» gradient_font=»no» gradient_start_color=»» gradient_end_color=»» gradient_start_position=»0″ gradient_end_position=»100″ gradient_type=»linear» radial_direction=»center center» linear_angle=»180″ highlight_color=»» style_type=»default» sep_color=»» link_color=»» link_hover_color=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»»]Configuración del entorno[/fusion_title][fusion_text columns=»» column_min_width=»» column_spacing=»» rule_style=»» rule_size=»» rule_color=»» hue=»» saturation=»» lightness=»» alpha=»» user_select=»» content_alignment_medium=»» content_alignment_small=»» content_alignment=»» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» class=»» id=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»» fusion_font_family_text_font=»» fusion_font_variant_text_font=»» font_size=»» line_height=»» letter_spacing=»» text_transform=»» text_color=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»» logics=»»]Abre el archivo de configuración del entorno (por ejemplo, ~/.bashrc o ~/.zshrc).
Añade las siguientes líneas al final del archivo, ajustando la ruta si es necesario:[/fusion_text][fusion_syntax_highlighter theme=»» language=»x-sh» line_numbers=»yes» line_wrapping=»» copy_to_clipboard=»yes» copy_to_clipboard_text=»Copiar en el portapapeles» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» class=»» id=»» font_size=»» border_size=»» border_color=»» hue=»» saturation=»» lightness=»» alpha=»» border_style=»» background_color=»» line_number_background_color=»» line_number_text_color=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»»]ZXhwb3J0IEpBVkFfSE9NRT0vdXNyL2xpYi9qdm0vamRrLTIxCmV4cG9ydCBQQVRIPSRQQVRIOiRKQVZBX0hPTUUvYmlu[/fusion_syntax_highlighter][fusion_text columns=»» column_min_width=»» column_spacing=»» rule_style=»» rule_size=»» rule_color=»» hue=»» saturation=»» lightness=»» alpha=»» user_select=»» content_alignment_medium=»» content_alignment_small=»» content_alignment=»» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» class=»» id=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»» fusion_font_family_text_font=»» fusion_font_variant_text_font=»» font_size=»» line_height=»» letter_spacing=»» text_transform=»» text_color=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»» logics=»»]Guarda el archivo y cierra el editor.
Aplica los cambios al entorno actual:[/fusion_text][fusion_syntax_highlighter theme=»» language=»x-sh» line_numbers=»yes» line_wrapping=»» copy_to_clipboard=»yes» copy_to_clipboard_text=»Copiar en el portapapeles» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» class=»» id=»» font_size=»» border_size=»» border_color=»» hue=»» saturation=»» lightness=»» alpha=»» border_style=»» background_color=»» line_number_background_color=»» line_number_text_color=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»»]c291cmNlIH4vLmJhc2hyYw==[/fusion_syntax_highlighter][fusion_title title_type=»text» marquee_direction=»left» marquee_speed=»15000″ rotation_effect=»bounceIn» display_time=»1200″ highlight_effect=»circle» loop_animation=»off» highlight_width=»9″ highlight_top_margin=»0″ before_text=»» rotation_text=»» highlight_text=»» after_text=»» title_link=»off» link_url=»» link_target=»_self» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» class=»» id=»» content_align_medium=»» content_align_small=»» content_align=»left» size=»2″ animated_font_size=»» fusion_font_family_title_font=»» fusion_font_variant_title_font=»» font_size=»» line_height=»» letter_spacing=»» text_transform=»» text_color=»» hue=»» saturation=»» lightness=»» alpha=»» animated_text_color=»» text_shadow=»no» text_shadow_vertical=»» text_shadow_horizontal=»» text_shadow_blur=»0″ text_shadow_color=»» text_stroke=»no» text_stroke_size=»1″ text_stroke_color=»» text_overflow=»none» margin_top_medium=»» margin_right_medium=»» margin_bottom_medium=»» margin_left_medium=»» margin_top_small=»» margin_right_small=»» margin_bottom_small=»» margin_left_small=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»» margin_top_mobile=»» margin_bottom_mobile=»» gradient_font=»no» gradient_start_color=»» gradient_end_color=»» gradient_start_position=»0″ gradient_end_position=»100″ gradient_type=»linear» radial_direction=»center center» linear_angle=»180″ highlight_color=»» style_type=»default» sep_color=»» link_color=»» link_hover_color=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»»]Verifica la instalación[/fusion_title][fusion_text columns=»» column_min_width=»» column_spacing=»» rule_style=»» rule_size=»» rule_color=»» hue=»» saturation=»» lightness=»» alpha=»» user_select=»» content_alignment_medium=»» content_alignment_small=»» content_alignment=»» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» class=»» id=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»» fusion_font_family_text_font=»» fusion_font_variant_text_font=»» font_size=»» line_height=»» letter_spacing=»» text_transform=»» text_color=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»» logics=»»]
Hasta el momento hay unas cuantas cosas que se han tenido que hacer, ahora toca comprobar si está bien hecho y tenemos el entorno Java listo.
[/fusion_text][fusion_syntax_highlighter theme=»» language=»x-sh» line_numbers=»yes» line_wrapping=»» copy_to_clipboard=»yes» copy_to_clipboard_text=»Copiar en el portapapeles» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» class=»» id=»» font_size=»» border_size=»» border_color=»» hue=»» saturation=»» lightness=»» alpha=»» border_style=»» background_color=»» line_number_background_color=»» line_number_text_color=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»»]amF2YSAtdmVyc2lvbg==[/fusion_syntax_highlighter][fusion_title title_type=»text» marquee_direction=»left» marquee_speed=»15000″ rotation_effect=»bounceIn» display_time=»1200″ highlight_effect=»circle» loop_animation=»off» highlight_width=»9″ highlight_top_margin=»0″ before_text=»» rotation_text=»» highlight_text=»» after_text=»» title_link=»off» link_url=»» link_target=»_self» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» class=»» id=»» content_align_medium=»» content_align_small=»» content_align=»left» size=»2″ animated_font_size=»» fusion_font_family_title_font=»» fusion_font_variant_title_font=»» font_size=»» line_height=»» letter_spacing=»» text_transform=»» text_color=»» hue=»» saturation=»» lightness=»» alpha=»» animated_text_color=»» text_shadow=»no» text_shadow_vertical=»» text_shadow_horizontal=»» text_shadow_blur=»0″ text_shadow_color=»» text_stroke=»no» text_stroke_size=»1″ text_stroke_color=»» text_overflow=»none» margin_top_medium=»» margin_right_medium=»» margin_bottom_medium=»» margin_left_medium=»» margin_top_small=»» margin_right_small=»» margin_bottom_small=»» margin_left_small=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»» margin_top_mobile=»» margin_bottom_mobile=»» gradient_font=»no» gradient_start_color=»» gradient_end_color=»» gradient_start_position=»0″ gradient_end_position=»100″ gradient_type=»linear» radial_direction=»center center» linear_angle=»180″ highlight_color=»» style_type=»default» sep_color=»» link_color=»» link_hover_color=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»»]Notas adicionales[/fusion_title][fusion_text columns=»» column_min_width=»» column_spacing=»» rule_style=»» rule_size=»» rule_color=»» hue=»» saturation=»» lightness=»» alpha=»» user_select=»» content_alignment_medium=»» content_alignment_small=»» content_alignment=»» hide_on_mobile=»small-visibility,medium-visibility,large-visibility» sticky_display=»normal,sticky» class=»» id=»» margin_top=»» margin_right=»» margin_bottom=»» margin_left=»» fusion_font_family_text_font=»» fusion_font_variant_text_font=»» font_size=»» line_height=»» letter_spacing=»» text_transform=»» text_color=»» animation_type=»» animation_direction=»left» animation_color=»» animation_speed=»0.3″ animation_delay=»0″ animation_offset=»» logics=»»]
Es posible que necesites permisos de administrador, para eso se usa sudo
, para algunos pasos.
Asegúrate de tener suficiente espacio en disco para la instalación.
Si prefieres un método más sencillo solo hay que usar SDKMAN, pero esta guía es muy útil para saber qué hace trans las bamblinas SDKMAN al instalar un JDK.
Si prefieres un método más sencillo solo hay que usar SDKMAN
[/fusion_text][/fusion_builder_column][/fusion_builder_row][/fusion_builder_container]
Deja tu comentario
Debe iniciar sesión para escribir un comentario.