IC-90.96 doesn't start on Linux (Ubuntu 09.04)

I downloaded ideaIC-90.96.tar.gz on Ubuntu 09.04 64 bit system.
I ran "sudo file-roller ideaIC-90.96.tar.gz" and extracted it under /software/idea-IC-90.96.
Then I start idea with "idea.sh".

It prompts me to import settings which I decline, then the splash screen, and then lots of exceptions in the terminal, and then it doesn't progress any farther.

It looks like IDEA Community edition is looking for system directory under /software/idea-IC-90.96, but normally sytem an config are located under ~/.IntelliJIdea90. Maybe if I install as alex user in my home directory and then run it, it might work. I haven't tried that. But on this same box I have installed IU-90.94 with same steps (install as sudo root user but run as alex user) and it is running no problems.

This excercise also brings up question about whether IU and IC editions should have different names for the .IntelliJIdea90 directory ?

Thanks,

-Alex

alex@alex-sj:/software/idea-IC-90.96/bin$ ./idea.sh
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /software/idea-IC-90.96/system/log/idea.log (No such file or directory)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
    at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
    at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:156)
    at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
    at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
    at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:210)
    at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140)
    at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
    at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
    at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384)
    at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:790)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:673)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:627)
    at com.intellij.idea.LoggerFactory.init(LoggerFactory.java:91)
    at com.intellij.idea.LoggerFactory.getLoggerInstance(LoggerFactory.java:51)
    at com.intellij.openapi.diagnostic.Logger.getInstance(Logger.java:38)
    at com.intellij.idea.MainImpl.start(MainImpl.java:62)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.intellij.ide.plugins.PluginManager$3.run(PluginManager.java:149)
    at java.lang.Thread.run(Thread.java:619)
[   2970]  ERROR - ij.components.ComponentManager - null
java.lang.StackOverflowError
    at sun.nio.cs.UTF_8.updatePositions(UTF_8.java:58)
    at sun.nio.cs.UTF_8$Decoder.xflow(UTF_8.java:165)
    at sun.nio.cs.UTF_8$Decoder.decodeArrayLoop(UTF_8.java:241)
    at sun.nio.cs.UTF_8$Decoder.decodeLoop(UTF_8.java:305)
    at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:544)
    at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:140)
    at java.lang.StringCoding.decode(StringCoding.java:173)
    at java.lang.String.<init>(String.java:443)
    at java.lang.String.<init>(String.java:515)
    at java.io.UnixFileSystem.canonicalize0(Native Method)
    at java.io.UnixFileSystem.canonicalize(UnixFileSystem.java:157)
    at java.io.File.getCanonicalPath(File.java:559)
    at java.io.File.getCanonicalFile(File.java:583)
    at java.io.File.mkdirs(File.java:1189)
    at com.intellij.openapi.util.io.FileUtil.createParentDirs(FileUtil.java:472)
    at com.intellij.openapi.util.io.FileUtil.createIfDoesntExist(FileUtil.java:481)
    at com.intellij.util.io.PersistentEnumerator.<init>(PersistentEnumerator.java:132)
    at com.intellij.util.io.PersistentStringEnumerator.<init>(PersistentStringEnumerator.java:27)
    at com.intellij.util.io.PersistentStringEnumerator.<init>(PersistentStringEnumerator.java:23)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.init(FSRecords.java:173)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.init(FSRecords.java:235)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.init(FSRecords.java:235)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.init(FSRecords.java:235)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.init(FSRecords.java:235)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.init(FSRecords.java:235)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.init(FSRecords.java:235)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.init(FSRecords.java:235)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.init(FSRecords.java:235)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.init(FSRecords.java:235)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.init(FSRecords.java:235)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.init(FSRecords.java:235)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.init(FSRecords.java:235)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.init(FSRecords.java:235)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.init(FSRecords.java:235)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.init(FS

0
Avatar
Permanently deleted user

If I install idea IC under my user e.g. "file-roller ideaIC-90.96.tar.gz", and extract it to my home directory /home/alex/idea-IC-90.96, then I can start IDEA with idea.sh and I got it working.

So the problem seems to be only if I install IDEA as sudo root user, and then try to run it as normal user.

-Alex

0

请先登录再写评论。