What you probably have is a shared hosting package where you can’t install B4J server using terminal. I suggest you try to run my
PHP example which will be working in your shared hosting.
1. Download my example
api.zip. Login to cPanel. Upload to your public_html directory in the hosting using File Manager. Extract the zip file.
2. Create a MySQL database. Use PHPMyAdmin to select the database and run the SQL script attached inside the zip file.
3. Change the settings in config.php and then try open the URL from a web browser.