[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 258: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 320: mysqli_free_result(): Couldn't fetch mysqli_result
rusefi.com The most advanced open source ECU 2021-11-05T15:22:19 https://www.rusefi.com/forum/app.php/feed/topic/717 2021-11-05T15:22:19 2021-11-05T15:22:19 https://www.rusefi.com/forum/viewtopic.php?t=717&p=43054#p43054 <![CDATA[Re: How to compile the dev console]]> https://github.com/rusefi/rusefi/issues/1526 and https://github.com/rusefi/rusefi/issues/3128 help is needed on both

Statistics: Posted by AndreyB — Fri Nov 05, 2021 3:22 pm


]]>
2021-11-05T15:20:17 2021-11-05T15:20:17 https://www.rusefi.com/forum/viewtopic.php?t=717&p=43052#p43052 <![CDATA[Re: How to compile the dev console]]>

Code:

    [javac] /home/scott/src/rusefi/java_console/inifile/src/main/java/com/rusefi/tune/xml/Constant.java:3: error: package javax.xml.bind.annotation does not exist    [javac] import javax.xml.bind.annotation.XmlAttribute;    [javac]                                 ^...
This is with openjkd javac 11.0.11 on Ubuntu 18.04. According to the internets, the class layout changed with 9, and I need to downgrade to 8: https://github.com/AuthorizeNet/sdk-java/issues/175

Once I installed openjdk-8, I was able to compile:

Code:

sudo apt install openjdk-8-jdk-headlesssudo update-alternatives --config javacsudo update-alternatives --config java

Statistics: Posted by ssmith — Fri Nov 05, 2021 3:20 pm


]]>
2014-10-28T18:29:09 2014-10-28T18:29:09 https://www.rusefi.com/forum/viewtopic.php?t=717&p=11969#p11969 <![CDATA[Re: How to compile the dev console]]> I haven't try compiling it on OSX yet (no need so far), but I managed to run the dev console (although it's a bit tricky - I also have 7.5 here)
The tricky part is according to russian, it needs ire 1.7, while my mac says:

Code:

java -versionjava version "1.6.0_65"Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
Generally speaking, mac os x tracks versions itself, and for some reason it doesn't want to upgrade to 10.7.
So I went to oracle site, downloaded and intalled the parallel version of java runtime environment (if i am not mistaken), and to launch the dev console I am using the following .sh script:

Code:

#!/bin/bashcd /path/to/java_console_binary/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -jar rusefi_console.jar /dev/tty.usbmodem261 
FIY:

Code:

 /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -versionjava version "1.7.0_60"Java(TM) SE Runtime Environment (build 1.7.0_60-b19)Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
now, when I launch the dev console I start getting some error messages (just on some tabs), but after a while they disappear, so it's probably okay...

Statistics: Posted by puff — Tue Oct 28, 2014 6:29 pm


]]>
2014-10-28T15:37:26 2014-10-28T15:37:26 https://www.rusefi.com/forum/viewtopic.php?t=717&p=11961#p11961 <![CDATA[Re: How to compile the dev console]]>
neat! seams there is InelliJ for Mac!

don't know tho why would I need it :D

How can I run on Mac osx Lion (7.5), Could you please me how it is step ??
Thanks
;-x

Statistics: Posted by Tambralinga — Tue Oct 28, 2014 3:37 pm


]]>
2014-10-28T15:35:28 2014-10-28T15:35:28 https://www.rusefi.com/forum/viewtopic.php?t=717&p=11960#p11960 <![CDATA[Re: How to compile the dev console]]> - After installed the IntellJ, We would like to import the project in the subversion like this link http://sourceforge.net/p/rusefi/code/HEAD/tree/trunk/

- Imported the source project... below.
Image

- Ignore Externals update.
Image

then
Image

- Test compiling.
Image

* It is on the Windows 8.1 64bit.
Have a nice project.

For more information please asking for RusEFI.com.
Thanks for RusEFI.com.

Mr.X
;-x

Statistics: Posted by Tambralinga — Tue Oct 28, 2014 3:35 pm


]]>
2014-10-28T14:14:30 2014-10-28T14:14:30 https://www.rusefi.com/forum/viewtopic.php?t=717&p=11959#p11959 <![CDATA[Re: How to compile the dev console]]>

Here you can see that file names are brown, that means that SVN integration is not set properly. File names should be black for unmodified files under SVN control.

Statistics: Posted by AndreyB — Tue Oct 28, 2014 2:14 pm


]]>
2014-10-28T13:56:52 2014-10-28T13:56:52 https://www.rusefi.com/forum/viewtopic.php?t=717&p=11957#p11957 <![CDATA[Re: How to compile the dev console]]>
don't know tho why would I need it :D

Statistics: Posted by puff — Tue Oct 28, 2014 1:56 pm


]]>
2014-10-28T13:38:05 2014-10-28T13:38:05 https://www.rusefi.com/forum/viewtopic.php?t=717&p=11956#p11956 <![CDATA[How to compile the dev console]]> Click here for info on how to compile the firmware

The dev console is written in Java. The source code comes with a IntelliJ IDEA project and ANT build script.

1) You can download Community free open-source edition of IntelliJ IDEA from https://www.jetbrains.com/idea/download/

2) Install it :)

3) Download & install Java JDK (Java Developer Kit. The regular JRE - java runtime environment - would not be enough) version 7 or later

4) Start IDEA and point Open Project at your local folder where you've checked out http://sourceforge.net/p/rusefi/code/HEAD/tree/trunk/java_console

5) If you get a yellow 'Project SDK is not defined' warning, click on 'Setup SDK' and point at your JDK installation from step #3

Statistics: Posted by AndreyB — Tue Oct 28, 2014 1:38 pm


]]>