title: Connect java pc application to a mobile hotspot
body: <blockquote>
    <p><strong>Objective :</strong> I want the java project to connect to a mobile(android) hotspot.</p>
  </blockquote>
  
  <p>I referred to <a href="https://stackoverflow.com/questions/12517765/wifi-scan-and-connect-using-java">WIFI - Scan and Connect using Java</a> and tried using <a href="http://sourceforge.net/projects/jwlanscan/?source=typ_redirect" rel="nofollow noreferrer">jwlanSacn lib</a> but unfortunately it works only for 32 bit systems. This lib uses JNI.</p>
  
  <blockquote>
    <p>Is there a way to connect to a mobile hotspot in java? Any libraries ?
    or can I create my own JNI code for it?</p>
  </blockquote>
  
  <p>Also, referred to </p>
  
  <p><a href="https://stackoverflow.com/questions/12517765/wifi-scan-and-connect-using-java">WIFI - Scan and Connect using Java</a></p>
  
  <p><a href="https://stackoverflow.com/questions/5378103/finding-ssid-of-a-wireless-network-with-java">Finding SSID of a wireless network with Java</a></p>
  
  <p>I'm working on 64bit Windows.</p>
  
  <p>I'm new in pure java programming. Please help!</p>
  
  <p>Thanks</p>