Running a .jar file from a different user - Geeks to Go Forums

Jump to content

Log in Register Register Malware removal guide How it works

Running a .jar file from a different user

#1 Bob Corleone

  • Group: Member
  • Posts: 2
  • Joined: 08-April 12

Posted 08 April 2012 - 01:32 AM

Hello Geeks,

I have a problem, I've downloaded a file with the extension .jar and it is limited to only running one per computer. I know for .exe files you can run them as a different user to open another one but the .jar file doesn't have that option.

I was wondering whether or not there is a way to run a .jar file from a different user or somehow else run it twice when it's limited to one per computer.

#2 leonidus2012

  • Group: Member
  • Posts: 3
  • Joined: 07-April 12

Posted 09 April 2012 - 10:12 AM

try this:

runas /user:YOUR_USER_NAME@YOUR_COMPUTER_NAME java -jar YOUR_FILE_NAME.jar

#3 Bob Corleone

  • Group: Member
  • Posts: 2
  • Joined: 08-April 12

Posted 09 April 2012 - 01:16 PM

Thank you for your reply,

I'm on Windows 7 by the way,

I did that and it didn't give me anything but I messed around a little with what the cmd was giving me and I got to a point where it asks me for the password of the user but it doesn't let me type it in, and when I hit enter it says login failure unkown username or password.

Share this topic: