Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

regarding classes in jar  RSS feed

 
Shivangi Joshi
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hiii,
I have executable jar of my application.as we all know anybody can see classes in jar.is it possible for me to hide classes in jar from user..is there any solution to do this. also i have searched for .exe file(like converting jar to .exe),but the result was like you will have to use third party software. but i do not want to use any readymade software.so can anybody help me out..

thanks in advance
shivangi...
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whats the harm If somebody saw the .class files from you .jar file and to make .jar to .exe file I don't know presently , but Google has all the answer !
 
Shivangi Joshi
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

By extracting jar anyone can get all the class files. Using decompiler we can get the source code of that file.
so is there any way to hide class files
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A simple search provided me a good links to solve your problems !
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it possible for me to hide classes in jar from user..

May i know why do you want to hide them from users?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!