Java application not picking up app.properties on Widows 10

General Tech Bugs & Fixes 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

there is an application that needs certification to work fine, in Linux, there is no problem but I want to run this on a windows machine. I have Installed Java on my windows 10 system.

then I Download that jnlp application to run it on my windows machine. to running app correctly I need to create a properties file like "~/.app.properties". and in that file, I should point the app to my pem file and the ssh keys. the File contains:

orca.xmlrpc.url=https://webpage.com/orca/xmlrpc
user.certfile=/Users/pruth/.ssl/file.pem
user.certkeyfile=/Users/pruth/.ssl/file.pem
enable.modify=true
ssh.key=~/.ssh/id_dsa
SSH Public key to install into VM instances
ssh.pubkey=~/.ssh/id_dsa.pub
Secondary login (works with ssh.other.pubkey)
ssh.other.login=pruth
Secondary public SSH keys 
ssh.other.pubkey=~/.ssh/id_dsa.pub
Should the secondary account have sudo privileges
ssh.other.sudo=yes
Path to XTerm executable on your system
xterm.path=/opt/X11/bin/xterm

After running this app it doesn't follow lines in the properties file but in Linux it does.

Update: application tells that put properties file in $HOME/.app.properties, where i can find this folder in windows?

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.