aspose file tools*
The moose likes Linux / UNIX and the fly likes deploying java application in linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "deploying java application in linux" Watch "deploying java application in linux" New topic
Author

deploying java application in linux

jim mcnamara
Ranch Hand

Joined: Jun 13, 2007
Posts: 64
hi-
i made an swt application with eclipse, fatjar, hibernate, etc.
i am new to linux. do i need to concern myself with the
owner and user group when deploying it? what if the machine
i deploy it to doesnt have the same owner and user group as me?

if i use fatjar i dont have to change owner and permissions
for all the files in the fatjar do i?

i found a great tutorial on webstart and think i can set it up
no problem but am stuck on this piece of it. i already am launching
my app with java -jar demorun_fat.jar command and it uses hibernate
and apache derby.

i hate it when i get stuck like this. i could have got quite
a bit of other stuff done but was searching and i just cant find
any discussion of this type of question.

thanks for any help,
jim
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38405
    
  23
Don't know. Are all those files pure Java, in which case they ought to work anywhere? Don't know whether you have to set ownership, maybe only

chmod a+x . . .

Have you tried that with several users?

We have a Linux forum, and you might have a better chance of answers there, so I shall move this thread.
jim mcnamara
Ranch Hand

Joined: Jun 13, 2007
Posts: 64
i received an answer on this so thanks.
no more responses please.

thanks again,
jim
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4646
    
    5

Originally posted by jim mcnamara:
i received an answer on this so thanks.
no more responses please.


You should share the answer to help others with the same, or similar, issues
jim mcnamara
Ranch Hand

Joined: Jun 13, 2007
Posts: 64
http://www.linuxquestions.org/questions/linux-general-1/file-permission-java-deployment-linux-653672/

the link to some threads is above if anyone wants to read.
thanks,
jim
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38405
    
  23
Thank you. Anybody interested can find out the detail from your link.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: deploying java application in linux