Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compiling in a linux environment

Status
Not open for further replies.

sos

IS-IT--Management
Apr 10, 2000
53
CA
when i try to compile a sample swing application downloaded from Sun's sight i get the following error msg:

SwingApplication.java:17: error while writing <anonymous SwingApplication$1>: SwingApplication$1.class (Permission denied)
public void actionPerformed(ActionEvent e) {
^
1 error

If i log on as root (su) then compile everything werks great, i can run the app no prob....
How do i set up my linux box so that i can compile without having to log on as root each time?

thanx in advance
 
I'm not sure, but I'd use chmod and make sure the java bin and libraries are at least r for users and that your directory is r/w for users. I'd also perhaps check your X windows or whatever GUI you have.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top