LeFauconFou / mc-now-mod-installer

Automatically exported from code.google.com/p/mc-now-mod-installer
0 stars 0 forks source link

The Installer won't open with JavaSE #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

What is the expected output? What do you see instead?
I Expect an installer.
Nothing.

What version of the product are you using? On what operating system?
0.4.2. on a Windows Home 7

Please provide any additional information below.

Original issue reported on code.google.com by jaydongo...@gmail.com on 16 Jul 2012 at 5:20

GoogleCodeExporter commented 8 years ago
Same problem here. At first time installer says:
===
$ java -jar Installer-v0.4.2.jar 
log4j: Threshold ="null".
log4j: Level value for root is  [debug].
log4j: root level set to DEBUG
log4j: Class name: [org.apache.log4j.RollingFileAppender]
log4j: Setting property [file] to [installer.log].
log4j: Setting property [append] to [true].
log4j: Setting property [maxFileSize] to [2MB].
log4j: Setting property [maxBackupIndex] to [1].
log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
log4j: Setting property [conversionPattern] to [%d{yyyy-MMM-dd HH:mm:ss} 
[%5p,[%t] %c{1}] %m%n].
log4j: setFile called: installer.log, true
log4j: setFile ended
log4j: Adding appender named [rolling] to category [root].
log4j: Class name: [org.apache.log4j.ConsoleAppender]
log4j: Setting property [target] to [System.out].
log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
log4j: Setting property [conversionPattern] to [%d{yyyy-MMM-dd HH:mm:ss} 
[%5p,[%t] %c{1}] %m%n].
log4j: Adding appender named [console] to category [root].
2013-Feb-28 12:13:55 [DEBUG,[main] Installer] Starting Modpack Installer
2013-Feb-28 12:13:55 [ERROR,[main] InstallerConfig] Error loading 
installer.properties file
java.io.FileNotFoundException: 
/home/user/mc-now-mod-installer/config/installer.properties (No such file or 
directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:120)
        at java.io.FileInputStream.<init>(FileInputStream.java:79)
        at mc.now.util.InstallerConfig.<clinit>(InstallerConfig.java:74)
        at mc.now.ui.Installer.main(Installer.java:559)
Exception in thread "main" java.lang.ExceptionInInitializerError
        at mc.now.ui.Installer.main(Installer.java:559)
Caused by: java.lang.RuntimeException: Can't load properties or detect install 
location
        at mc.now.util.InstallerConfig.<clinit>(InstallerConfig.java:77)
        ... 1 more

===

And after creating empty installer.properties file it says:

===
$ java -jar Installer-v0.4.2.jar 
log4j: Threshold ="null".
log4j: Level value for root is  [debug].
log4j: root level set to DEBUG
log4j: Class name: [org.apache.log4j.RollingFileAppender]
log4j: Setting property [file] to [installer.log].
log4j: Setting property [append] to [true].
log4j: Setting property [maxFileSize] to [2MB].
log4j: Setting property [maxBackupIndex] to [1].
log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
log4j: Setting property [conversionPattern] to [%d{yyyy-MMM-dd HH:mm:ss} 
[%5p,[%t] %c{1}] %m%n].
log4j: setFile called: installer.log, true
log4j: setFile ended
log4j: Adding appender named [rolling] to category [root].
log4j: Class name: [org.apache.log4j.ConsoleAppender]
log4j: Setting property [target] to [System.out].
log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
log4j: Setting property [conversionPattern] to [%d{yyyy-MMM-dd HH:mm:ss} 
[%5p,[%t] %c{1}] %m%n].
log4j: Adding appender named [console] to category [root].
2013-Feb-28 12:14:21 [DEBUG,[main] Installer] Starting Modpack Installer
2013-Feb-28 12:14:21 [DEBUG,[main] Installer] Current OS: Linux
2013-Feb-28 12:14:21 [ERROR,[main] Installer] 
/home/user/mc-now-mod-installer/mods/ doesn't exist.
/home/user/mc-now-mod-installer/config/init_text.txt doesn't exist.
/home/user/mc-now-mod-installer/config/logo.png doesn't exist.
===

Original comment by darkfe...@gmail.com on 28 Feb 2013 at 6:19

GoogleCodeExporter commented 8 years ago
Don't even bother with this. Also it seems you didn't extract it all the way

Original comment by JohSketch on 9 Aug 2013 at 7:56