Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (798)
Games in Android Showcase (234)
games submitted by our members
Games in WIP (865)
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  
  OpenJDK?  (Read 1449 times)
0 Members and 1 Guest are viewing this topic.
Offline hobbles

Junior Devvie


Medals: 4
Exp: 50 years


hmm what


« Posted 2019-09-06 03:14:27 »

I looked up all over the place if you can sell a game you made with openJDK and cant find a direct clear answer. The posts I've seen that brings it up are just a bit vague on the answer and never just a yes or no. If you are like, where have you been? Living under a rock? Well apparently yes.... yes I have been. I went to start up a project again to find that since I used Java 8 last there is all of a sudden Java 12 now along with openJDK. I also went to try out openJDK 12 cause I never minded upping to the next versions and was like ooh new and shiny! Couldn't even compile a dang project, what on earth are they even doing anymore..... It doesn't like libgdx or something but that's not what I'm here for. The chances of completing a game is slim to none but just on the off shoot I did... it would be nice to know that I could sell it. So... could I sell a game for money... without a commercial JDK license using openJDK? First I can't make browser games anymore and now this.... F

I'm upset I didn't capitalize the H in my name...
Offline princec

« JGO Spiffy Duke »


Medals: 1107
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #1 - Posted 2019-09-06 07:14:32 »

Yep, OpenJDK is free to use, and you can muck about with the contents too, provided you link back to a repository of your modifications.

Our stuff is distributed using OpenJDK on Mac and Linux.

Only recently have we made the move to JDK11 though - it's a colossal PITA because of the module system combined with poor IDE support. We've gotten around it by, er, not using modules.

Cas Smiley

Offline philfrei
« Reply #2 - Posted 2019-09-06 19:18:36 »

As princec say, OpenJDK can be used for commercial games without paying for any license.

The workaround I've been using for development: in Eclipse I forego modules, in which case (if I understand correctly) the project is treated as a single module that makes use of all of Java modules.

Then, you can still make a .jar, and then follow this tutorial for building a customized runtime using JLINK.

And Inno-Setup 6 (for Windows) or this MacOSX hack can be used to make an installable.

I'm looking into revising the tutorial I wrote on command-line modular compilation, updating for JavaFX 11 (OpenJFX 11 is the LTS, and also can be used for commercial games), and will see if there is a better way than "crash-surfing" to figure out the contents of the needed module-info.java.

I assume the folks supporting/promoting LibGDX would have tutorials by now on how to use their library with the major IDEs. My first guess is that (with Eclipse) LibGDX would be added as an external jar or library in the build configuration, possible on the Module Path instead of the Class Path. But I haven't looked into this since I don't use it.

music and music apps: http://adonax.com
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline hobbles

Junior Devvie


Medals: 4
Exp: 50 years


hmm what


« Reply #3 - Posted 2019-09-07 00:31:55 »

Yep, OpenJDK is free to use, and you can muck about with the contents too, provided you link back to a repository of your modifications.

Our stuff is distributed using OpenJDK on Mac and Linux.

Only recently have we made the move to JDK11 though - it's a colossal PITA because of the module system combined with poor IDE support. We've gotten around it by, er, not using modules.

Cas Smiley

Oh wow I remember that avatar. Thanks for the reply, good to know. Like I said it just seemed like they tried to make it as unclear as possible at least from the places I was reading. I also found out what was up with the error compiling earlier as well. Not ready to move to Linux  Cheesy, it's just so hard when doing anything on it is so much more tedious. Compiled it on my dekstop with windows 10 with the same version of Java with no issues except for the chastising of libgdx for doing something it didn't like, just a warning though. One day you will be my main OS Linux, just not this day.

I'm upset I didn't capitalize the H in my name...
Offline gouessej
« Reply #4 - Posted 2019-09-18 17:34:03 »

Hello

Not ready to move to Linux  Cheesy, it's just so hard when doing anything on it is so much more tedious.
I assume that's just the joke of the day, isn't it?

Julien Gouesse | Personal blog | Website | Jogamp
Offline princec

« JGO Spiffy Duke »


Medals: 1107
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #5 - Posted 2019-09-18 18:19:01 »

Well, he's basically right... it is tedious AF. I use it every single day and honestly it's just crap compared to Windows, still, after all these years. And Windows isn't very good.

Cas Smiley

Offline CommanderKeith
« Reply #6 - Posted 2019-09-19 05:56:14 »

I agree. Typing passwords all the time is so tedious. I tried to enable logging in as root on desktop ubuntu to avoid typing passwords but gave up. Also I've had updates break the OS twice, and the trackpad driver on laptops rarely works properly.
Though these problems are all desktop related. Server wise, I've had a great experience with headless linux.

Offline gouessej
« Reply #7 - Posted 2019-09-19 10:35:39 »

Maybe you should choose your Linux distribution more carefully. Sorry for the off topic.

Julien Gouesse | Personal blog | Website | Jogamp
Offline princec

« JGO Spiffy Duke »


Medals: 1107
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #8 - Posted 2019-09-19 10:46:19 »

Not all of us get to choose. (FWIW - Scientific Linux at work, recently EOLed, and Ubuntu for Puppygames).

After many, many years of doing this, my Grand Takeaway is: Shell scripting sucks. Configuration files suck. Terminals suck. Repositories suck. Navigating filesystems without any UI at all sucks. All terminal based text editors suck.

Want to know why Windows won? Because you don't have to script anything. You don't have to use a terminal. You can install anything with a double-click and it won't hurt anything else (well... usually Tongue). You never have to edit a configuration file by hand. Windows file manager sucks but it sucks 1000x less than having to navigate blind with cd/cp/mv/rm. Notepad++ is the dog's bollocks and draws the comparison that Notepad++ is to vim as Java is to Malbolge.

I could go on. This is the world we are stuck with. Much like how git has somehow won the hearts and minds of developers around the world despite it sucking - Stockholm Syndrome in action.

Cas Smiley

Offline SugarBlood
« Reply #9 - Posted 2019-09-19 14:59:21 »

But what's wrong with git? When I was in a company that tryed to be a web-site factory and we had bunch of projects, it was huge help.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline princec

« JGO Spiffy Duke »


Medals: 1107
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #10 - Posted 2019-09-19 15:16:37 »

/mumbles something about over-complicated nuclear-sledgehammer-to-crack-small-nut user-hostile macho-geek bullshit

The thing I love most about git is how everyone learns how to do the equivalent of balance a ball on their nose with it but the moment that ball falls off everyone panics and doesn't know how to fix it.

Cas Smiley

Offline SugarBlood
« Reply #11 - Posted 2019-09-19 17:35:49 »

I see Cheesy Well I don't remember alot about how we set it up, I'm sorry, only remember panic when you pushing something in wrong branch Cheesy /macho-geek
Offline cylab

JGO Kernel


Medals: 195



« Reply #12 - Posted 2019-09-19 22:22:20 »

@Cas
Maybe you just suck on doing computer stuff Tongue */me runs for cover*

Mathias - I Know What [you] Did Last Summer!
Offline princec

« JGO Spiffy Duke »


Medals: 1107
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #13 - Posted 2019-09-19 22:37:13 »

Oh, I absolutely do.

Cas Smiley

Offline CommanderKeith
« Reply #14 - Posted 2019-09-20 02:23:24 »

That was a funny rant, thanks PrinceC.
I also dislike configuration files, especially in tomcat webserver. I'm not convinced that random config files with their own bizarre structure and syntax are better than java code which can do the same thing more precisely with zero learning curve. Similarly I really dislike Ant, gradle, and Maven.

Offline princec

« JGO Spiffy Duke »


Medals: 1107
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #15 - Posted 2019-09-20 08:17:30 »

There's only one thing worse than config files with random syntax and structure and that's config files that use XML.

Cas Smiley

Offline Drenius
« Reply #16 - Posted 2019-09-20 18:52:59 »

There's only one thing worse than config files with random syntax and structure and that's config files that use XML.

"Hold my beer." -IBM
Offline VaTTeRGeR
« Reply #17 - Posted 2019-09-20 19:03:44 »

How bad can it b... WHY
Click to Play
Offline princec

« JGO Spiffy Duke »


Medals: 1107
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #18 - Posted 2019-09-20 21:26:01 »

There's only one thing worse than config files with random syntax and structure and that's config files that use XML.

"Hold my beer." -IBM
It's incredible they can post that article with a straight face.

Meanwhile, in thjson land:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
{
  name: John Smith
  address: (address)
  {
    streetAddress: 21 2nd Street
    city: New York
    state: NY
    postalCode: 10021
  }
  phoneNumbers:
  [
    212 555-1111
    212 555-2222
  ]
  additionalInfo: null
  remote: false
  height: 62.4
  ficoScore: " > 640"
}


Cas Smiley

Offline philfrei
« Reply #19 - Posted 2019-09-22 09:41:57 »

GitHub Desktop?
Helps a fair bit, compared to command line operations.

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

 
Riven (82 views)
2019-09-04 15:33:17

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

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

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

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

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

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

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

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

nelsongames (3999 views)
2018-04-24 18:15:36
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!