Java commands through SSH

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
m77
New to forums
New to forums
Posts: 1
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sat Jul 23, 2011 8:12 pm

Java commands through SSH

Post by m77 »

Hello, I'm trying to get smartfoxserver running through shell and I'm having trouble setting/starting up the program. The error I'm getting when I bash "./sfs2x.sh start" is "./sfs2x.sh: line 1: java: command not found", and also bashing "java -version" returns "-bash: java: command not found".

I googled the issue around a bit and this thread shined some light on the issue: http://www.smartfoxserver.com/forums/vi ... 2daf3a9a2d

Am I allowed to run this under my current hosting package ('lite'), and if so is java installed on the machine or perhaps called by a different var? Any help would be appreciated.
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Java commands through SSH

Post by Edge100x »

You wouldn't be able to run an application server on our shared webhosting. To run this, you'd need an unmanaged VDS. You can change your current package into one of these through our VDS order page, if you'd like, which is located at https://www.nfoservers.com/order-virtua ... server.php -- just select the new configuration (likely a single-core unmanaged Debian Squeeze or similar Linux configuration) and then choose the "This is a change to an existing server" option from the bottom, and the system should guide you from there.
Post Reply