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

Add Selection Based support for Java #759

Closed
jaredleekatzman opened this issue Jan 28, 2016 · 3 comments
Closed

Add Selection Based support for Java #759

jaredleekatzman opened this issue Jan 28, 2016 · 3 comments

Comments

@jaredleekatzman
Copy link

Platform: darwin

I am trying to use the Script package to run Java code. And any time I use Cmd-I to run the file, I get the following error:

"Selection Based runner not available for Java."

What confuses me is is that no code is selected. I am trying to run the entire script.
What could the problem be?

@EntilZha
Copy link
Collaborator

Can you provide exact steps to reproduce, a minimal example file of what it breaks on, and screenshots/gifs of what you are doing?

@EntilZha
Copy link
Collaborator

Marking as duplicate of #796, but will keep open since it might actually be a bug of thinking that it should execute as selection based

@JJ-Atkinson
Copy link

I'm having the same issue. Steps to reproduce:

  • Open a new file
  • Set the file type to java
  • Add some code
  • Try to run script

If the file isn't saved it will print

Selection Based runner not available for Java.

If it should exist, add an issue on GitHub, or send your own pull request.

^C

If it is saved in file.java it launches the command line in my home directory, and when I exit the console the error appears in the atom error console.

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

No branches or pull requests

4 participants