Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 4022  / 2 Years ago, thu, june 23, 2022, 2:53:25

I am trying to copy .jar and .so files into jre folder. I tried to do it like I do it in windows but it is not working, maybe the permission problem.
So how can I do it? using terminal or is there any other way?
File which i want to copy is RXTXcomm.jar path is /home/adi
and I want to paste it in jre path is
/usr/lib/jvm/java-7-oracle/jre/lib/ext



I am very new to Linux, I got it only couple of hours ago so please bear with me!


More From » 11.10

 Answers
3

You can use:



alt+f2 gksu cp /home/adi/RXTXcomm.jar /usr/lib/jvm/java-7-oracle/jre/lib/ext.



Or you can run it in the terminal:



sudo cp /home/adi/RXTXcomm.jar /usr/lib/jvm/java-7-oracle/jre/lib/ext.


[#32604] Saturday, June 25, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uquelighted

Total Points: 242
Total Questions: 110
Total Answers: 106

Location: Cyprus
Member since Tue, Sep 22, 2020
4 Years ago
;