Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8396993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T20:40:46+00:00 2026-06-09T20:40:46+00:00

I recently have gotten Sublime Text 2 and I had a few headaches so

  • 0

I recently have gotten Sublime Text 2 and I had a few headaches so far, the biggest one being from this:

public class bob{

    public static void main(String[] args){

        System.out.println("Sublime Text 2!");

    }

}

because it won’t run at all. It just won’t run. I press F7 and nothing happens, except it outputs this:

[Finished in *s]

and I have no idea why.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T20:40:48+00:00Added an answer on June 9, 2026 at 8:40 pm

    Default Java build system does not run your program after compilation.

    If you open ...\Packages\Java\JavaC.sublime-build and replace the content of the build system file with:

    {
      "cmd": ["javac", "$file_name","&&","java", "$file_base_name"],
      "working_dir": "${project_path:${folder}}",
      "selector": "source.java",
      "shell": true
    }
    

    EDIT: in the above you need to concatenate multiple commands for the shell to execute because the build system does not support listing multiple commands by itself.

    Then it will compile and run your program when you build ( F7 ).

    This is a very simplistic build system and will only work for simple programs obviously.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have gotten some strange StackTraces from users of my app recently: Android Version:
Recently, I have gotten interested in Text Encoding. As you know, there are many
I recently have been nominated to transfer a CF site from one host to
I recently upgraded to Xcode 4.3 from 4.2 and it seems they have gotten
I have just recently gotten into LessCSS and I am running into what I
I recently have convert my project from VB6 to VB.NET2008, after the convert here
I've been working on a layout for a site recently and have gotten stuck
I know this question has been asked many times and we have gotten this
I've recently gotten involved with a web-based crowd sourcing project. I have two main
I've recently gotten the testing religion and have started primarily with unit testing. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.