I think java has been installed, but
>javac-version
javac1.8.0_302
Probably because stb is not installed well,
IDE cannot use scala
C:\>sbtsbt-version
[warn]Neither build.sbt nor a'project' directory in the current directory: "C:\"
c) continue
q) quit
?
Additional information
C:\Users\Owner\Desktop\scala>sbt
[warn]Neither build.sbt nor a'project' directory in the current directory: "C:\Users\Owner\Desktop\scala"
c) continue
q) quit
?c
[warn] No sbt.version set in project/build.properties, base directory: C:\Users\Owner\Desktop\scala
[info] welcome to sbt 1.4.6 (Temurin Java 1.8.0_302)
[info] set current project to scala (inbuild file:/C:/Users/Owner/Desktop/scala/)
[info] sbt server started at local: sbt-server-5814c1c154581fd6564b
[ info ] started sbt server
sbt —scala>println("Hello world")
[error] Expected ID character
[error] Not a valid command: println
[error] Expected project ID
[error] Expected configuration
[error] Expected ':'
[error] Expected key
[error] Not a valid key: println (similar: printWarnings, installSbtn, terminal)
[error] println ("Hello world")
[Error] ^
For some reason, I get an error.
There is also an error when configured in IDE.
What should I do?
scala
Preparing the Scala Development Environment: According to JDK and sbt installation, a question message appears on initial boot.
Enter c
and press Enter to proceed with the environment build process.
(Because the target
directory is created in the current directory, it is recommended that you create a working directory instead of just under drive C.)
618 Uncaught (inpromise) Error on Electron: An object could not be cloned
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
581 PHP ssh2_scp_send fails to send files as intended
613 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.