File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

deploying java application in linux

 
jim mcnamara
Ranch Hand
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 47300
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i received an answer on this so thanks.
no more responses please.

thanks again,
jim
 
Pat Farrell
Rancher
Posts: 4660
5
Linux Mac OS X VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 47300
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. Anybody interested can find out the detail from your link.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic