You are not logged in.

#1 2010-11-14 16:40:59

whitetimer
Member
Registered: 2010-05-23
Posts: 207

[ SOLVED ] Compile Error with Java Fonts & IntelliJ

Hi All

I have now got a new problem when i compile a flex project.  Yesterday inorder to get the IJ Interface font smoothing sorted, i had to add this line to my ~/.bashrc file

_JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on

But now when i go to run a flex project, i get the following error message

Information:Using built-in compiler shell, up to 4 parallel threads
See compiler settings at File | Settings | Compiler | Flex Compiler page
Information:Starting Flex compiler:
/opt/java/jre/bin/java -Dapplication.home=/home/julian/SDK/flex_sdk_4.5.0.17855 -Xmx384m -Dsun.io.useCanonCaches=false -Duser.language=en -Duser.region=en -Xmx1024m -classpath /opt/idea-IU-98.311/plugins/flex/lib/flex-compiler.jar:/home/julian/SDK/flex_sdk_4.5.0.17855/lib/flex-compiler-oem.jar com.intellij.flex.compiler.FlexCompiler 48936
Information:Compilation completed with 2 errors and 0 warnings
Information:2 errors
Information:0 warnings
Error:Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on
Error:java.net.SocketException: Socket closed
Error:java.net.ConnectException: Connection refused
Error:     at java.net.PlainSocketImpl.socketConnect(Native Method)
     at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
     at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
     at java.net.Socket.connect(Socket.java:529)
     at java.net.Socket.connect(Socket.java:478)
     at java.net.Socket.<init>(Socket.java:375)
     at java.net.Socket.<init>(Socket.java:218)
     at com.intellij.flex.compiler.FlexCompiler.openSocket(FlexCompiler.java:35)
     at com.intellij.flex.compiler.FlexCompiler.main(FlexCompiler.java:70)

Any suggestions, besides disabling the _JAVA_OPTION again ?

Many Thanks

Last edited by whitetimer (2010-11-14 17:24:11)

Offline

#2 2010-11-14 17:25:01

whitetimer
Member
Registered: 2010-05-23
Posts: 207

Re: [ SOLVED ] Compile Error with Java Fonts & IntelliJ

-Dawt.useSystemAAFontSettings=on needs to be added to the end of file

idea.vmoptions

big_smile

Offline

Board footer

Powered by FluxBB