Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Java version

    Help wanted · · · – – – · · ·
    2
    2
    513
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SteamedBanana
      SteamedBanana last edited by

      I’m trying to set up notepad++ for java coding. I tried to test a hello world program but it wont run because my java compiler version is 11 but my java run time environment version is 10.
      info:

      javac -version
      javac -version
      Process started (PID=11212) >>>
      javac 11
      <<< Process finished (PID=11212). (Exit code 0)
      ================ READY ================
      java -version
      java -version
      Process started (PID=3816) >>>
      java version “10.0.2” 2018-07-17
      Java™ SE Runtime Environment 18.3 (build 10.0.2+13)
      Java HotSpot™ 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
      <<< Process finished (PID=3816). (Exit code 0)
      ================ READY ================

      So how do I change the java runtime environment version? I downloaded the most recent java se version off of oracle but I dont know what to do next. I still have the error. I tried to follow a video that said to rename the java.exe in system32 but i dont have a java.exe in that folder.

      Scott Sumner 1 Reply Last reply Reply Quote 0
      • Scott Sumner
        Scott Sumner @SteamedBanana last edited by

        @SteamedBanana

        See here.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors