Skip to content

Commit

Permalink
[Fixes #150, #147] Properly detects Java JRE on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
alindeman committed Dec 22, 2011
1 parent b08af13 commit 721d341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sunspot_solr/lib/sunspot/solr/java.rb
Expand Up @@ -2,7 +2,7 @@ module Sunspot
module Solr
module Java
def self.installed?
`java -version &> /dev/null`
`java -version`
$?.success?
end
end
Expand Down

1 comment on commit 721d341

@indokathan
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is this file? I can't find it anywhere. Thanks!

Please sign in to comment.