Skip to content

Windows UC command not Starting #263

@DSATAM

Description

@DSATAM

Describe the bug
UC command does not work on Windows bash

It Give Error

Usage: java [options] [args...]
(to execute a class)
or java [options] -jar [args...]
(to execute a jar file)
or java [options] -m [/] [args...]
java [options] --module [/] [args...]
(to execute the main class in a module)
or java [options] [args]
(to execute a source-file program)

Arguments following the main class, source file, -jar ,
-m or --module / are passed as the arguments to
main class.

Solution
In UC to remove Eval from UC script

eval $CLI_JAVA_COMMAND $@ || exit
replace with
$CLI_JAVA_COMMAND $@ || exit

it work in windows bash

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions