|
|
The Inn A place to gather around and chat about almost any subject |
|
Thread Tools | Display Modes |
04-19-2010, 05:26 AM | #61 | |
Baron
Join Date: Apr 2009
Location: Montana, U.S.A.
Posts: 690
|
Quote:
Console? Is that like the terminal? And where am I supposed to put these files? Im a linux noob and don't know this stuff I tried that command in termainal (chmod +rw -R ./RO_MAP/RO_MAP.jar) and it just returned the line with no message at all. I'm still uncertain how to even properly run this or where to put the files... -.-''
__________________
Μολὼν λαβέ
Kyrottimus: 60 - Barbarian (WM) RIP || Rykor: 60 - Knight (WM) RIP Vanosen Sagesight: 60 - Marksman (WM) RIP || Orykus: 60 - Hunter RIP |
|
04-20-2010, 03:22 AM | #62 | |
Duke
Join Date: Nov 2006
Location: 0x00CAFE
Posts: 3,366
|
Quote:
The command you ran changes the permissions for all the files inside the folder. You should do something like chmod +rw -R ./RO_MAP so it changes the permissions to read and write. Then you should run the program by typing java -jar ./RO_MAP/RO_MAP.jar. It will most certainly fail again, but that way I can see the error logs (it will write a lot of text to the console, copy and paste it here). The app may be failing because of
That's why I need the error logs.
__________________
I don't have a solution, but I admire the problem. |
|
04-20-2010, 06:25 AM | #63 | |
Baron
Join Date: Apr 2009
Location: Montana, U.S.A.
Posts: 690
|
Quote:
Here you go (yes, same error): Code:
kyrottimus@kyrottimus-desktop:~$ chmod +rw -R ./RO_MAP kyrottimus@kyrottimus-desktop:~$ java -jar ./RO_MAP/RO_MAP.jar java.io.FileNotFoundException: /home/kyrottimus/files/config.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:137) at java.io.FileInputStream.<init>(FileInputStream.java:96) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:87) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:178) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:847) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:826) at jtryicon.Configuracion.readXML(Configuracion.java:91) at jtryicon.Configuracion.<init>(Configuracion.java:42) at jtryicon.RoMap.<init>(RoMap.java:59) at jtryicon.RoMap.main(RoMap.java:918) at jtryicon.Main.main(Main.java:44) kyrottimus@kyrottimus-desktop:~$
__________________
Μολὼν λαβέ
Kyrottimus: 60 - Barbarian (WM) RIP || Rykor: 60 - Knight (WM) RIP Vanosen Sagesight: 60 - Marksman (WM) RIP || Orykus: 60 - Hunter RIP |
|
04-20-2010, 06:52 AM | #64 |
Baron
Join Date: Apr 2009
Location: Montana, U.S.A.
Posts: 690
|
Got it to work, I looked at that code message and just copied the "files" folder from RO_MAP and stuck it in my home/kyrottimus dir and ran the .jar again.
Got a couple other error messages but the window still comes up and it works fine after that.
__________________
Μολὼν λαβέ
Kyrottimus: 60 - Barbarian (WM) RIP || Rykor: 60 - Knight (WM) RIP Vanosen Sagesight: 60 - Marksman (WM) RIP || Orykus: 60 - Hunter RIP |
04-20-2010, 11:48 AM | #65 |
Duke
Join Date: Nov 2006
Location: 0x00CAFE
Posts: 3,366
|
As I expected, there's a file missing... Well, really it can't find the file because it's not looking at the right path. It's a bug in the app, not Ubuntu's fault. :P
It looks for this: /home/kyrottimus/files/config.xml And that file should be in: /home/kyrottimus/RO_MAP/files/config.xml It does so because the app looks at the "./" dir (current working directory). When you start the app it believes it's working on /home/kyrottimus/RO_MAP, while it's really in /home/kyrottimus/. You can fix this making a startup script: Code:
#!/bin/bash cd /home/kyrottimus/RO_MAP/ java -jar ./RO_MAP.jar I'm trully sorry for the inconvenience.
__________________
I don't have a solution, but I admire the problem. |
04-20-2010, 03:35 PM | #66 | |
Baron
Join Date: Apr 2009
Location: Montana, U.S.A.
Posts: 690
|
Quote:
__________________
Μολὼν λαβέ
Kyrottimus: 60 - Barbarian (WM) RIP || Rykor: 60 - Knight (WM) RIP Vanosen Sagesight: 60 - Marksman (WM) RIP || Orykus: 60 - Hunter RIP |
|
05-04-2010, 09:37 AM | #67 | |
Pledge
Join Date: Aug 2009
Posts: 15
|
Quote:
1) Install "Scripted HTML" 2) Create a new file with *html extension, and copy&paste these lines of code in it: HTML Code:
<html> <head> </head> <body> <img src="http://regnum-online.de/goodies/status8.gif" /> <br> <img src="http://regnum-online.de/goodies/useronline8.gif" width="130" height="60"> </body> </html> That's all Result: http://img88.imageshack.us/img88/3717/schermata2f.png |
|
|
|