abdealiloko / findjava Goto Github PK
View Code? Open in Web Editor NEWFind java installations on a environment
License: MIT License
Find java installations on a environment
License: MIT License
[ec2-user@ip-172-31-62-36 ~]$ findjava
Traceback (most recent call last):
File "/usr/local/bin/findjava", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python3.7/site-packages/findjava.py", line 106, in main
java_home = find()
File "/usr/local/lib/python3.7/site-packages/findjava.py", line 77, in find
+ _find_with_bin_java() # If the PATH is set right
File "/usr/local/lib/python3.7/site-packages/findjava.py", line 20, in _find_with_exec_java_home
path = subprocess.check_output(['/usr/libexec/java_home']).decode().strip()
File "/usr/lib64/python3.7/subprocess.py", line 395, in check_output
**kwargs).stdout
File "/usr/lib64/python3.7/subprocess.py", line 472, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib64/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib64/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/libexec/java_home': '/usr/libexec/java_home'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.