Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (791)
Games in Android Showcase (234)
games submitted by our members
Games in WIP (864)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Use emulated iOS for compiling?  (Read 1487 times)
0 Members and 1 Guest are viewing this topic.
Offline philfrei
« Posted 2018-12-16 21:51:31 »

Has anyone tried compiling for iOS on an emulation?

I'm on Windows10, would be loading the Oracle tool, then attempting to load JDK 9 or 10 or better on top of that in order to compile using JLink.

music and music apps: http://adonax.com
Offline philfrei
« Reply #1 - Posted 2018-12-17 06:23:49 »

Oracle's VM VirtualBox installed, and a 64-bit Mac OS "machine" installed.

Hitting a big "now what?" LOL.

I want to get some sort of browser installed and working. Can this be done from the command line? (Goal, to download OpenJDK 10.)

Download the install file to Windows and then find a way to bring it to the VM?
More stuff to learn.

To be continued...

music and music apps: http://adonax.com
Offline princec

« JGO Spiffy Duke »


Medals: 1085
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #2 - Posted 2018-12-17 11:46:31 »

Slight tangent but how do you get MacOS on VirtualBox working?

Cas Smiley

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline philfrei
« Reply #3 - Posted 2018-12-18 04:40:31 »

Slight tangent but how do you get MacOS on VirtualBox working?

Cas Smiley

Exactly!

All I see is a cursor that says:
1  
shell>


Was working at the music store today and probably heading to SF tomorrow for the database contract. Wednesday should see some progress on this.

My Mac-contractor friend was scratching his head, too. Especially at the part that LS elicited the error message "no drive specified" or something of that ilk.

My guess is that taking a look at the Virtual Machine's instructions pertaining to the Mac OS might be helpful. (RTFM!) Ever the optimist.  Smiley

music and music apps: http://adonax.com
Offline SHC
« Reply #4 - Posted 2018-12-18 05:09:26 »

@philfrei

That could be because of EFI. VirtualBox by default enables EFI to be able to boot the Darwin kernel. However, you can use an alternative like Clover bootloader and disable EFI.

Install Clover into another bootable medium, and add it as a disk device in VM. It should be able to boot from it.

Offline philfrei
« Reply #5 - Posted 2018-12-18 06:17:12 »

I just found this. Looks promising.

https://techsviewer.com/install-macos-high-sierra-virtualbox-windows/

There are a number of other tutorials, as well.
Also, there is a term for this setup (Mac OS on PC): "Hackintosh".

Download of the OS is supposed to be huge, so I'm going to launch that and head to bed.
 Cool

music and music apps: http://adonax.com
Offline princec

« JGO Spiffy Duke »


Medals: 1085
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #6 - Posted 2018-12-18 10:08:01 »

V. interested to know how you get on - I'm all but giving up on my actual Mac hardware (2012 Mac Mini) - despite plonking 8GB RAM in it and a half-terabyte SSD it's still beyond awful to use. And I only want it to compile Steampuppy natives and test a couple of games. I'm >.< this close to giving up on Mac support for good.

Cas Smiley

Offline philfrei
« Reply #7 - Posted 2018-12-19 02:23:10 »

It's not looking good.

The tutorials for making a "Hackintosh" via VirtualBox make it seem like this should be a straightforward process. There are certainly a lot of "thank you's" and "works like a charm" comments.

But there are also quite a few problems that have gone unanswered, including the issue that came up for me.

Possible reasons:
1) AMD systems are just too different, require a lot more hacking to get them to work;
2) I did something dumb like assigned more RAM than available (but I can't test this until I rebuild and check log files--I discovered this solution and answer at the VirtualBox forums after deciding to wipe and restart).

I found a forum dedicated to AMD-OSC. I put an intro post there to kind of sound things out. I don't think I want to invest a week trying to get this to work.

Article last updated 2016: Is your PC Hackintosh compatible?

**** EDIT 1:
Same error. Also, checked the log for the cmd values that were added, and that assigned ram and cores were all okay values. Yes, probably an issue with AMD cpu.

But if you have an Intel machine, seems like it should work.

**** EDIT 2:
I've seen enough now, that SHC's comment almost becomes comprehensible to me. A number of AMD-related sources mention the Clover bootloader.

Quote
Install Clover into another bootable medium, and add it as a disk device in VM. It should be able to boot from it.

I am slowly starting to understand this. There was a video that talked about putting a bootable something on a thumb drive. The tutorial was four videos long, and I didn't stay very long watching. Instead, moved on to look for other solutions. Will try and backtrack and look at it again.

https://www.youtube.com/watch?v=RyKhmCfuhMQ
https://www.youtube.com/watch?v=RhGxcV7akkw

music and music apps: http://adonax.com
Offline philfrei
« Reply #8 - Posted 2018-12-19 19:04:08 »

I got a recommendation to check the following out, from the amd-osc community.

"This has been the best tutorial for my own experience."
https://forum.amd-osx.com/viewtopic.php?f=24&t=4127

****EDIT/Progress report

I've made what seems to be a working boot USB for High Sierra. Some interesting adventures along the way. The most confusing (second after trying to find the right ".dmg" file) was that when the TransMac program successfully puts the image on the USB, the USB is no longer recognizable by the PC, and messages about formatting the USB start to pop up. These have to be ignored. First pass, I didn't and as a result had to repartition the very confused USB.

Am now dealing with my Bios editor being very different from the ones shown in tutorials (usually ASUS, mine ASRock and coming on four years old). Questions have been posted at the tutorial about translating to the ASRock version. There's a lot to figure out still.

****EDIT/Progress report 2

As a step along the way, I've just removed the Ubuntu dual boot and Gnu Grub. (And I didn't hose my system in the process!!  Grin Grin Grin ) The system is 100% Windows 10 now. This should simplify things going forward.

This has been a long overdue. I ran out of space on the Ubuntu partitions several years ago, and stopped using it. I'm now wondering if the VirtualBox will run a Linux-based Java JDK. The main point is to compile and test, not develop.

music and music apps: http://adonax.com
Offline SHC
« Reply #9 - Posted 2018-12-21 13:41:46 »

Is your system UEFI or BIOS only? BIOS is older, and IMO most computers coming after 2016 are UEFI only. And coming to the changes to be made, on ASUS or Gigabyte motherboards that I owned before, it was enough to disable Secure Boot and set the Hard disk access mode to AHCI.

And believe me, it's the AMD processor that makes installation of hackintosh harder. I believe you have to replace your Darwin kernel with something else which is patched with AMD support. Couldn't help you there as I never owned an AMD processor. Maybe depending on your GPU, you might need a GraphicsEnabler kext as well.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline philfrei
« Reply #10 - Posted 2018-12-24 02:10:12 »

Is your system UEFI or BIOS only? BIOS is older, and IMO most computers coming after 2016 are UEFI only. And coming to the changes to be made, on ASUS or Gigabyte motherboards that I owned before, it was enough to disable Secure Boot and set the Hard disk access mode to AHCI.

And believe me, it's the AMD processor that makes installation of hackintosh harder. I believe you have to replace your Darwin kernel with something else which is patched with AMD support. Couldn't help you there as I never owned an AMD processor. Maybe depending on your GPU, you might need a GraphicsEnabler kext as well.
@SHC
My system is UEFI.
The source for the kernel was this link: https://download.amd-osx.com/installers.html
I chose "High Sierra" and the downloaded file, now loaded on the thumb drive:
HighSierraV3Unofficial.dmg
As far as I know, this is what the AMD-MAC community recommends, and the tutorial I'm following is set up for this.

I thought I had more time, but have to pull away again. Next post will be about the UEFI changes. The other day when I worked through this, I was able to get the system to boot from the thumb drive, but the Mac system didn't go into its install screens.

Since then, I've gotten rid of Grub and the Linux partition on my system. Hoping it all goes smoother this time.

music and music apps: http://adonax.com
Pages: [1]
  ignore  |  Print  
 
 

 
hadezbladez (2845 views)
2018-11-16 13:46:03

hadezbladez (1028 views)
2018-11-16 13:41:33

hadezbladez (2812 views)
2018-11-16 13:35:35

hadezbladez (551 views)
2018-11-16 13:32:03

EgonOlsen (3824 views)
2018-06-10 19:43:48

EgonOlsen (4237 views)
2018-06-10 19:43:44

EgonOlsen (2543 views)
2018-06-10 19:43:20

DesertCoockie (3355 views)
2018-05-13 18:23:11

nelsongames (3469 views)
2018-04-24 18:15:36

nelsongames (4467 views)
2018-04-24 18:14:32
Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!