IdeaOnFreeBsd 

HOME INDEX SEARCH GO  

 <<O>>  Difference Topic IdeaOnFreeBsd (r1.6 - 20 Nov 2003 - AlexeyEfimov)
Deleted:
<
<

1.4.2.02]]


 <<O>>  Difference Topic IdeaOnFreeBsd (r1.5 - 20 Nov 2003 - AlexeyEfimov)
Changed:
<
<

>
>

Changed:
<
<

To run idea963.bin installator, you must before correctly install JVM for JDK 1.4.2.

>
>

Installation Java JDK 1.4.2_02

In process of installation you will maybe see that something is crashed, becose of you need some packages to be installed on your system. So, follow by instruction you must download latest port of missing package and install it manualy, then run installation command again.
Changed:
<
<

Installation Sun Java JDK

>
>

Process of installation is very long, for me it was done more that 10 hours, and total downloaded trafic - is about 150 Megs, becose it requred for new linux_base component and for linux-sun-jdk14 downloads.

Changed:
<
<

  • Firstly you must download latest java port from http://www.freebsd.org/java/
  • Extract files over usr/local/ports/java/linux-sun-jdk14
  • Place j2sdk-1_4_2_02-linux-i586.bin into /usr/ports/distfiles
>
>

1.4.2.02]]
Changed:
<
<

cd usr/local/ports/java/linux-sun-jdk14

>
>

cd usr/local/ports/java/jdk14

Added:
>
>

Changed:
<
<

kldload linprocfs mount /compat/linux/proc

>
>

# kldload linprocfs # mount /compat/linux/proc

  • Check that java JRE installed correcly:
     # javavm -version
     

Installation of IntelliJ IDEA Aurora

  • Download idea977.bin for Linux from http://www.intellij.net.
  • Put it into "/dist" directory.
  • Check that "/tmp" directory have more that 40 Megs to unpack installation.
  • Run follow command:
     # cd /dist
     # ./idea.bin
<nop>
Added:
>
>

  • Install into "/usr/local/idea" directory
  • After installation open idea.lax file and fix follow:
    • Add startup parameter -Djava.net.preferIPv4Stack=true to lax.nl.java.option.additional property. This option allow IDEA to create socket (localnet license checking).
    • Change property lax.nl.current.vm, you must use follow value for this property: /usr/local/jdk1.4.2/jre/bin/java
  • You no need anymore "/usr/local/idea/jre" directory - so, you can remove it to save ~50 Megs of your hard drive smile
Added:
>
>

-- AlexeyEfimov - 20 Nov 2003


 <<O>>  Difference Topic IdeaOnFreeBsd (r1.4 - 17 Nov 2003 - AlexeyEfimov)
Deleted:
<
<

Troubles i found in first time using IDEA on FreeBSD

  • Crash in UIDesigner at startup:
Error message: Assertion failed: Cannot find file by URL:
jar:file:/usr/local/idea/plugins/uiDesigner/lib/uiDesigner.jar!/fileTemplates
java.lang.Throwable
   at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:2)
   at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:21)
   at com.intellij.ide.h.a.a.r(a.java:74)
   at com.intellij.ide.h.a.a.q(a.java:116)
   at com.intellij.ide.h.a.a.l(a.java:122)
   at com.intellij.ide.h.a.a.access$000(a.java:196)
   at com.intellij.ide.h.a.a$0.run(a$0.java:2)
   at com.intellij.openapi.application.a.b.runReadAction(b.java:269)
   at com.intellij.ide.h.a.a.k(a.java:171)
   at com.intellij.ide.h.a.a.a(a.java:170)
   at com.intellij.ide.h.a.a.a(a.java:223)
   at com.intellij.ide.h.a.a.readExternal(a.java:360)
   at com.intellij.openapi.components.b.a.a(a.java:145)
   at com.intellij.openapi.components.b.a.a(a.java:38)
   at com.intellij.openapi.components.b.a.getComponent(a.java:30)
   at com.intellij.openapi.components.b.a.m(a.java:43)
   at com.intellij.openapi.components.b.a.h(a.java:39)
   at com.intellij.openapi.application.a.b.a(b.java:173)
   at com.intellij.idea.c.b(c.java:6)
   ...

  • Crashes in IDE Settings->Colors&Fonts
Error message: Assertion failed: Access is allowed from event dispatch thread only.
java.lang.Throwable
   at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:2)
   at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:21)
   at com.intellij.openapi.application.a.b.assertIsDispatchThread(b.java:150)
   at com.intellij.openapi.components.b.a.a(a.java:162)
   at com.intellij.openapi.components.b.a.getComponent(a.java:30)
   at com.intellij.progress.c.a(c.java:5)
   at com.intellij.application.a.b.e$j_.run(e$j_.java:8)

  • Unable to assign JDK. In JDK panel i can't see "/usr/local" directory in Select Path dialog, and as result i can't attach JDK to my project.

  • To be continued...

-- AlexeyEfimov - 15 Nov 2003


 <<O>>  Difference Topic IdeaOnFreeBsd (r1.3 - 15 Nov 2003 - AlexeyEfimov)
Changed:
<
<

. How to Run IntelliJ on FreeBSD

>
>


How to Run IntelliJ on FreeBSD

IntelliJ IDEA 3.0.5 and FreeBSD JDK 1.4.1 ports

Added:
>
>

IntelliJ IDEA Aurora and FreeBSD JDK 1.4.2 ports

  • FreeBSD 5.1-RELEASE
  • Sun Linux JDK 1.4.2_02 self-extracting package
  • IntelliJ IDEA build 963

To run idea963.bin installator, you must before correctly install JVM for JDK 1.4.2.

Installation Sun Java JDK

  • Firstly you must download latest java port from http://www.freebsd.org/java/
  • Extract files over usr/local/ports/java/linux-sun-jdk14
  • Place j2sdk-1_4_2_02-linux-i586.bin into /usr/ports/distfiles
  • Run commands:
     cd usr/local/ports/java/linux-sun-jdk14
     make install clean
     
  • Add follow line in /etc/fstab file:
     linprocfs   /compat/linux/proc   linprocfs   rw   0  0
     
  • Run commands as root:
     kldload linprocfs
     mount /compat/linux/proc
     

Troubles i found in first time using IDEA on FreeBSD

  • Crash in UIDesigner at startup:
Error message: Assertion failed: Cannot find file by URL:
jar:file:/usr/local/idea/plugins/uiDesigner/lib/uiDesigner.jar!/fileTemplates
java.lang.Throwable
   at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:2)
   at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:21)
   at com.intellij.ide.h.a.a.r(a.java:74)
   at com.intellij.ide.h.a.a.q(a.java:116)
   at com.intellij.ide.h.a.a.l(a.java:122)
   at com.intellij.ide.h.a.a.access$000(a.java:196)
   at com.intellij.ide.h.a.a$0.run(a$0.java:2)
   at com.intellij.openapi.application.a.b.runReadAction(b.java:269)
   at com.intellij.ide.h.a.a.k(a.java:171)
   at com.intellij.ide.h.a.a.a(a.java:170)
   at com.intellij.ide.h.a.a.a(a.java:223)
   at com.intellij.ide.h.a.a.readExternal(a.java:360)
   at com.intellij.openapi.components.b.a.a(a.java:145)
   at com.intellij.openapi.components.b.a.a(a.java:38)
   at com.intellij.openapi.components.b.a.getComponent(a.java:30)
   at com.intellij.openapi.components.b.a.m(a.java:43)
   at com.intellij.openapi.components.b.a.h(a.java:39)
   at com.intellij.openapi.application.a.b.a(b.java:173)
   at com.intellij.idea.c.b(c.java:6)
   ...

  • Crashes in IDE Settings->Colors&Fonts
Error message: Assertion failed: Access is allowed from event dispatch thread only.
java.lang.Throwable
   at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:2)
   at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:21)
   at com.intellij.openapi.application.a.b.assertIsDispatchThread(b.java:150)
   at com.intellij.openapi.components.b.a.a(a.java:162)
   at com.intellij.openapi.components.b.a.getComponent(a.java:30)
   at com.intellij.progress.c.a(c.java:5)
   at com.intellij.application.a.b.e$j_.run(e$j_.java:8)

  • Unable to assign JDK. In JDK panel i can't see "/usr/local" directory in Select Path dialog, and as result i can't attach JDK to my project.

  • To be continued...

-- AlexeyEfimov - 15 Nov 2003


 <<O>>  Difference Topic IdeaOnFreeBsd (r1.2 - 05 Nov 2003 - DavidBullock)
Changed:
<
<

FreeBSD's Java support is currently a bit behind the 8-ball, and the Linux emulation isn't good enough to run the JRE distributed with Idea's Linux distro. Unfortunately, the property 'java.version' reported by FreeBSD's JVM is '1.3.1-p3-date-you-built-it', which will cause Idea to stop, even though this JVM is the appropriate version.

>
>

FreeBSD's Java support is currently a bit behind the 8-ball, and the Linux emulation isn't good enough to run the JRE distributed with Idea's Linux distro (though it installs OK from the .bin file). You have to use the .tar.gz download of IDEA, which doesn't have an embedded JVM, and be sure to follow Install.txt, not just hack bin/idea.sh in the way you would expect.

Unfortunately, the property 'java.version' reported by FreeBSD's JVM is '1.4.1-p4', which will cause Idea to stop, even though this JVM is the appropriate version.

Changed:
<
<

As of this writing, I (DavidBullock) have not used it in earnest, but will be sure to report any FreeBSD issues on this page. -- DavidBullock - 04 Nov 2003

>
>

See /usr/ports/java/jdk14 and/or http://www.freebsd.org/java/

Note that you will need patchset 4 for the JVM. patchset 3 has a problem with copying JAR files (IDEA reports 'bad file descriptor' when loading a project). It's vaguely possible that you'll have to rm -rf ~/.IntelliJIdea/system/jars/* if you have already run into the patchset 3 file descriptor problem.

If anyone wants to make a port, I will help them out, but I'm quite new to writing ports.

-- DavidBullock - 05 Nov 2003


 <<O>>  Difference Topic IdeaOnFreeBsd (r1.1 - 04 Nov 2003 - DavidBullock)
Added:
>
>

%META:TOPICINFO{author="DavidBullock" date="1067943100" format="1.0" version="1.1"}% %META:TOPICPARENT{name="WebHome"}%

. How to Run IntelliJ on FreeBSD

FreeBSD's Java support is currently a bit behind the 8-ball, and the Linux emulation isn't good enough to run the JRE distributed with Idea's Linux distro. Unfortunately, the property 'java.version' reported by FreeBSD's JVM is '1.3.1-p3-date-you-built-it', which will cause Idea to stop, even though this JVM is the appropriate version.

As of IDEA 3.0.5v2 (or possibly earlier), simply set the property

-Didea.no.jdk.check=true

when invoking the JVM at startup, and IDEA does not perform its JVM check. (Thanks to JAD and a previous post to this list identifying com.intellij.idea.Main as the culprit class, and I guess to the IntelliJ guys for adding this in more recent versions).

As of this writing, I (DavidBullock) have not used it in earnest, but will be sure to report any FreeBSD issues on this page. -- DavidBullock - 04 Nov 2003


View | Diffs | r1.6 | > | r1.5 | > | r1.4 | More

e d i t a t t a c h r e f - b y d i f f s
Ideas,requests,problems regarding this site? Send feedback.
Copyright @ 2000-2003 by the contribution authors. All material on this collaboration tool is the property of the contributing authors.

Revision r1.1 - 04 Nov 2003 - 10:51 GMT - DavidBullock
Revision r1.6 - 20 Nov 2003 - 15:54 GMT - AlexeyEfimov
Copyright © 2001 by the contributing authors. All material on this collaboration tool is the property of the contributing authors.
Ideas, requests, problems regarding this site? Send feedback.