+ Reply to Thread
Results 1 to 4 of 4

Thread: Java configuration

  1. #1
    dennismartinez is offline x10Hosting Member dennismartinez is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    4

    Java configuration

    I can't seem to connect, do I have this configured right? (URL)

    Code:
    String url = "jdbc:mysql-stoli.x10hosting.com/denniswm_users";
    The username, and passwords are right, just the URL I'm having trouble with.

    I've been reading a bit, it seems like java is not offered to free hosting, this could possibly be the problem.
    Last edited by dennismartinez; 11-22-2009 at 01:53 PM.

  2. #2
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: Java configuration

    Indeed, Java is not offered in the free hosting accounts. I am not sure if it is in the premium package, but I don't think so. However, if you have a VPS, you can install java on it.
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  3. #3
    dennismartinez is offline x10Hosting Member dennismartinez is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    4

    Re: Java configuration

    Thanks! I'll have to upgrade ;]

  4. #4
    ah-blabla's Avatar
    ah-blabla is offline x10 Lieutenant ah-blabla is an unknown quantity at this point
    Join Date
    Sep 2009
    Posts
    375

    Re: Java configuration

    Quote Originally Posted by dennismartinez View Post
    I can't seem to connect, do I have this configured right? (URL)

    Code:
    String url = "jdbc:mysql-stoli.x10hosting.com/denniswm_users";
    The username, and passwords are right, just the URL I'm having trouble with.

    I've been reading a bit, it seems like java is not offered to free hosting, this could possibly be the problem.
    What exactly are you trying to do? Is this a java applet / application which is trying to connect to your database -- i.e. one which the user runs? If so, it's only possible with paid since external mysql access is only available for paid hosting (Java applets run client side, and are therefore seen as external for the server). Java applets however are allowed on free hosting (the server only sees them as files which it serves), the only thing you can't do is run normal java code directly on the server. However it IS possible to natively compile java using gcj and then to run that on the server.

    If it is a client side application, don't allow direct SQL access anyway, whatever you do. Write a web-service php / python / etc. script to interface from the external application to SQL.

+ Reply to Thread

Similar Threads

  1. Java Problems
    By runeps in forum Programming Help
    Replies: 5
    Last Post: 08-13-2009, 01:43 AM
  2. VPS - JAVA JDK Help
    By allofus in forum Programming Help
    Replies: 12
    Last Post: 03-14-2009, 12:09 PM
  3. Java
    By Rhianna in forum Scripts & 3rd Party Apps
    Replies: 4
    Last Post: 03-07-2009, 06:22 PM
  4. Anfy Java Applet Online problems
    By Tharu in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 08-02-2008, 09:05 PM
  5. Website is down
    By JeffreyWalters in forum Free Hosting
    Replies: 17
    Last Post: 11-28-2007, 12:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers