Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jamal does *not* start from JShell #8

Closed
Michael1993 opened this issue Nov 19, 2020 · 1 comment
Closed

Jamal does *not* start from JShell #8

Michael1993 opened this issue Nov 19, 2020 · 1 comment

Comments

@Michael1993
Copy link
Contributor

If you don't have jamal already, you can not start it from JShell with jshell https://git.io/jamal, because it will throw an exception:

[INFO] processing jamal.options
[INFO] URL=https://repo.maven.apache.org/maven2/com/javax0/jamal/jamal-engine/1.4.1/jamal-engine-1.4.1.jar
[INFO] download https://repo.maven.apache.org/maven2/com/javax0/jamal/jamal-engine/1.4.1/jamal-engine-1.4.1.jar
[INFO] to file ~\.m2\repository\com\javax0\jamal\jamal-engine\1.4.1\jamal-engine-1.4.1.jar
Exception java.io.FileNotFoundException: ~\.m2\repository\com\javax0\jamal\jamal-engine\1.4.1\jamal-engine-1.4.1.jar (The system cannot find the path specified)
      at FileOutputStream.open0 (Native Method)
      at FileOutputStream.open (FileOutputStream.java:298)
      at FileOutputStream.<init> (FileOutputStream.java:237)
      at FileOutputStream.<init> (FileOutputStream.java:187)
      at JshBoot.fetch (#12:289)
      at JshBoot.url (#12:269)
      at JshBoot.remoteRepo (#12:242)
      at JshBoot.download (#12:223)
      at JshBoot.artifactId (#12:201)
      at (#24:3)
[INFO] EXECUTING 'java -cp ~\.m2\repository\com\javax0\jamal\jamal-engine\1.4.1\jamal-engine-1.4.1.jar javax0.jamal.cmd.JamalMain pattern=.*\.jam$ exclude= from=\.jam$ to= source=. close=} open={ target=.'
Error: Could not find or load main class javax0.jamal.cmd.JamalMain
Caused by: java.lang.ClassNotFoundException: javax0.jamal.cmd.JamalMain

User specific details omitted.

@verhas
Copy link
Owner

verhas commented Nov 19, 2020

It was a bug in JshBoot. Fixed, now it works also on Windows.

@verhas verhas closed this as completed Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants