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

package problem or advice #827

Closed
JoeyRxy opened this issue Mar 6, 2019 · 1 comment
Closed

package problem or advice #827

JoeyRxy opened this issue Mar 6, 2019 · 1 comment

Comments

@JoeyRxy
Copy link

JoeyRxy commented Mar 6, 2019

[provide a description of the issue]
this may not be a problem.
I'm new in Java so I'm not using Maven.
I found when I typing a package which is in my systems env :CLASSPATH,there's error saying:

the import XXX cannot be resolved.and the file cannot compile.

But in cmd(windows),there's no error using javac and java.

I think vscode and this extension is so powerfull that they should have the ability to autocomplete the import and even compile the src like prompt javac and java.(which is:javac can compile src with package in CLASSPATH .

Environment
  • Operating System:Win10
  • JDK version:jdk-11
  • Visual Studio Code version:insider(1.31)and latest stable version
  • Java extension version:0.40.0
Steps To Reproduce
  1. add some jar into system env:CLASSPATH
  2. import some package in CLASSPATH
  3. show the error "import cannot be resolved"
Current Result
Expected Result

can autodetect and compile (for the debugger extension) src with packages in CLASSPATH imported.

Additional Informations
@JoeyRxy
Copy link
Author

JoeyRxy commented Mar 9, 2019

Okay!
I now know how to configure classpath without Maven.
see here:
Issue501
and thank him @fbricon

@JoeyRxy JoeyRxy closed this as completed Mar 9, 2019
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

1 participant