Login

russian armor

(Mod Builder) Icon/SDK/Java related build error

28 Jan 2022, 05:21 AM
#1
avatar of SkyWolfy

Posts: 11

So i begun learning how to mod recently, i've set up my Mod Manager by following one of the more popular tutorials. Downloading SDK from source from the author which was one of the official sources for SDK Flex atm and got Java aswell.

Was working on and testing my mod for past 3 days and today i decided to add custom icon i made.
Followed an tutorial how to set it, checking several others and some forum discusions to make sure before hand.
First i created Data/ui folders manually and added them to my mod build via mod builder, with my icon there. Wrote the 'ModIcons_(Modnumber)_(iconname)' to the unit i made it for, saved and clicked 'build'.

It took its time as usual but right before it finished i got 'mxmlc.jar missing' error from SDK folder.
So i checked the SDK folder, found a file named 'mxmlc-cli.jar'. Then i decided to look for other sources of SDK non-having this file aswell and re-installing Java aswell to make sure.
So i just renamed the 'mxmlc-cli.jar' to 'mxmlc.jar' and after doing so, i kept getting 'Error building modfile.mod: C:\Program Files (x86)\Java\jre1.8.0_321\bin\java.exe failed with exit code 2.'.

... and as i have still little experience with Mod Builder, and seen lot of people having issues regarding the same error. I dont even know if its still SDK/Java issue or some issue regarding the placement of the icon or something.

So here i am asking for help, i would really appreciate any help or knowledge regarding this issue or if someone has SDK flex files that are working as i dont know anymore.
28 Jan 2022, 06:23 AM
#2
avatar of SneakEye
Senior Modmaker Badge

Posts: 817 | Subs: 5

Welcome to the forum!

Can you try with this Flex SDK download? https://www.dropbox.com/s/vbvv7mqlkypiyy1/flex_sdk_4.6.0.23201B.7z?dl=0
(from this guide: https://steamcommunity.com/sharedfiles/filedetails/?id=2679894588)

I downloaded it and can confirm it does include the mxmlc.jar. Then adjust the Flex SDK path in the options and try again. With the info you posted it sounds like that the rest is configured right.

28 Jan 2022, 19:15 PM
#3
avatar of SkyWolfy

Posts: 11

I can't thank you enough, it managed to build. The icon works... You saved me again SneakEye, truly guardian angel of CoH2 modding :D.
1 user is browsing this thread: 1 guest

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

685 users are online: 685 guests
0 post in the last 24h
12 posts in the last week
24 posts in the last month
Registered members: 49852
Welcome our newest member, vn88company
Most online: 2043 users on 29 Oct 2023, 01:04 AM