Jump to content
Leadwerks Community

Recommended Posts

Posted

I've started school in Java and it could be a fun project to do to learn. Does anybody need/want that?

 

  • Yes, for development
  • Yes, for the theoretical aspect
  • Yes, in the ideology that LE has all common languages
  • No, not at all

Posted

"Yes, for the theoretical aspect"

Making a dll work in Java is a pretty difficult and annoying task. I think you even have to write some of wrapper dll with their API.

Let me know how you'll do it. Once you get the base working, automating the conversion of the c headers shouldn't be too difficult and LE would have one more supported language!

Posted

I personally won't be using Java, but I like the idea of it. Now Python on the other hand, would be sweet to make games in, if it wasn't so slow... :)

Win 7 Pro 64 bit

AMD Phenom II X3 720 2.8GHz

GeForce 9800 GTX/9800 GTX+

4 GB RAM

Posted

I hate Java as well, I think the syntax is sketchy and inferior to that of C#. But I do need to get used to the "Java-mindset", i.e. the libraries and syntax changes, even if they're minor.

Posted

I agree that C# is far superiour to Java. Sadly my college won't do enterprise architecture classes in C# or any Microsoft-related technology.

 

Oh how I loath you GlassFish :)

Posted

I won't use it because i dislike Java, but "Yes, in the ideology that LE has all common languages" :)

(Win7 64bit) && (i7 3770K @ 3,5ghz) && (16gb DDR3 @ 1600mhz) && (Geforce660TI)

Posted

For the concept of learning how to do it, then yes, by all means try it. But Java is going to be inherently slow for any serious games due to the nature of the virtual machine

LE Version: 2.50 (Eventually)

Posted

I would like to have LW working in java. I tried to the other day and couldn't get it to work. I wrote all the Java side native interface part and generated the header file but then I was stumped on the C++ side as I don't know it much.

I couldn't work out what types to use and how to write the inplamentation of the wraper. Maybe if I was good at C++ I could do it but then why would I need it in Java lol.

 

I managed to get some simple functions in a dll and then load it in java and use them there but not the Leadwerks stuff. I have been using Java on my college courses and I understand it far better then I do C++ so I would really like it to try stuff out in Java then do a rewrite in C++ once I have it working. Or if it was a reasonable speed I would just use it in Java. I was thinking of writing some classes for AI in Java then using them as a Library to use in C++. By the way the JNI documentation does say that if you use the native code librarys then there is not much of a lost of speed if you keep comunication between both sides to a minimum. Do a large chunk on one side then send it across, don't do lots of little transfers and it is ok. Not sure if that is very helpful in a game engine =).

Posted
Warning: Failed to initialize Newton.

Looks like your Newton DLL is missing?

My job is to make tools you love, with the features you want, and performance you can't live without.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...