Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. java

java

Scheduled Pinned Locked Moved C / C++ / MFC
javahelp
6 Posts 4 Posters 0 Views 1 Watching
  • 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.
  • A Offline
    A Offline
    Aryan Gupta 2024
    wrote on last edited by
    #1

    I am facing some problems to install the java compiler. actually in my knowledge I have installed the java compiler and also edited the enviorment variables on my pc.

    PS E:\java> gcc main.java
    gcc.exe: error: main.java: Java compiler not installed on this system
    PS E:\java>

    J N C 3 Replies Last reply
    0
    • A Aryan Gupta 2024

      I am facing some problems to install the java compiler. actually in my knowledge I have installed the java compiler and also edited the enviorment variables on my pc.

      PS E:\java> gcc main.java
      gcc.exe: error: main.java: Java compiler not installed on this system
      PS E:\java>

      J Offline
      J Offline
      jeron1
      wrote on last edited by
      #2

      Perhaps, the Java Discussion Boards[^] would be a better place for this.

      "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

      1 Reply Last reply
      0
      • A Aryan Gupta 2024

        I am facing some problems to install the java compiler. actually in my knowledge I have installed the java compiler and also edited the enviorment variables on my pc.

        PS E:\java> gcc main.java
        gcc.exe: error: main.java: Java compiler not installed on this system
        PS E:\java>

        N Offline
        N Offline
        Nezuko 2024
        wrote on last edited by
        #3

        Thanks for the info thanks

        1 Reply Last reply
        0
        • A Aryan Gupta 2024

          I am facing some problems to install the java compiler. actually in my knowledge I have installed the java compiler and also edited the enviorment variables on my pc.

          PS E:\java> gcc main.java
          gcc.exe: error: main.java: Java compiler not installed on this system
          PS E:\java>

          C Offline
          C Offline
          CPallini
          wrote on last edited by
          #4

          Anyway, as far as I know. The java compiler is called javac. Hence, the correct command line should be:

          javac main.java

          "In testa che avete, Signor di Ceprano?" -- Rigoletto

          A 1 Reply Last reply
          0
          • C CPallini

            Anyway, as far as I know. The java compiler is called javac. Hence, the correct command line should be:

            javac main.java

            "In testa che avete, Signor di Ceprano?" -- Rigoletto

            A Offline
            A Offline
            Aryan Gupta 2024
            wrote on last edited by
            #5

            You are right. Thanks Bro

            C 1 Reply Last reply
            0
            • A Aryan Gupta 2024

              You are right. Thanks Bro

              C Offline
              C Offline
              CPallini
              wrote on last edited by
              #6

              And you are welcome!

              "In testa che avete, Signor di Ceprano?" -- Rigoletto

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups