JOGL in Eclipse for Mac - java

Im trying to get JOGL to work in Eclipse on my Mac but im having some issues; just to clarify I have never used JOGL before in my entire life so this whole thing is very new to me. Ive tried looking for some tutorials but they are all outdated/use different files on every website I go to.
So, I have downloaded the latest build from the JOGL site (jogamp-all-platforms.7z) and I have extracted it. I have a new project in Eclipse which I have just created, when I select 'Add JARs...' in User Libraries im only given the choice of '.classpath' or '.project' which doesn't seem to be an issue on any of the tutorials written. I was just wondering if im doing something wrong at this point?

It's explained
here in the official JogAmp wiki.

Related

libGDX project setup, Mario

New guy here, trying Java for the past 2 months. I came across a nice, in-depth tutorial by Brent Aureli on youtube. Seems like a really cool project! The tutorial is about creating Mario using libGDX, but already at the start of the project, I'm having problems.
Error code 1: Could not determine java version from '9.0.1'. Maybe something to do with the Java version as the tutorial is from August 2015?
Error code 2: Class 'com.mygdx.mario.desktop.DesktopLauncher not found in module 'PMario'. DesktopLauncher is, by the tutorial, supposed to be the main class. I can't seem to find it in Edit Config when trying to run the project.
This is all from his first video in the series (https://www.youtube.com/watch?v=a8MPxzkwBwo&).
Heres a link to pictures of the setup and where it goes wrong:
https://imgur.com/a/YASAOMd
Link to better quality of picture 3 from album:
https://ibb.co/fQ5aWx
Anybody familiar with this error? Any tips welcome!!
Java version convention changed from '1.8' to '9.0', old gradle wrapper doesnt know what to do with that.
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
3.3 should work, latest libgdx uses 4.6

Netbeans: Unable to create new Java Application

Since I remember I've always been able to create a Java Application in Netbeans doing File->New Project->Java->Java Application. Today I turned on my computer and the Java field "disappeared". The only thing I did in the past days is to begin working with Java FX. I checked the Plugins and everything seems fine.
I did some quick research but couldn't find anything similar.
Thanks for the help in advance

eclipse with flex plugin for red5

I've just started to mess around with red5 , I can't say it was easy to get it run at the first place, but after a day on google I finally succeed.
The first thing I had to face is the poor documentation of this server. I couldn't find any good tutorials about making apps (I would pay for a good one, but still nothing) for it, but it doesn't matter since it's free.
I found this : Adobe TV . It's the best starting point I could find so far. The only thing is that I can't set up the same working enviroment as the guy has in the video. I understand it is eclipse (i have that) , and i know he is using flex plugin, but how do I get eclipse to debug mxml files as he does? (around 3.20 in the video) . I downloaded the flex plugin, but after I install it, eclipse stays exactly the same as before.
PLease note I am new to eclipse (and JAVA and flash -huhh... :D - ).
I am running Windows 7 Ultimate 32bit.
Any help would be greatly appreciated.
There is one more IDE called FDT for flex app development. They are using eclipse. Worthy to try this IDE http://fdt.powerflasher.com/ this is available linux too. This is does not support red5 by native. But you can just simply create as java project.
I prefere the Flex Development to do with flashdevelop: http://www.flashdevelop.org/
it is a very nice openen source code editor. Configuration is really easy and takes just 1 Minute. The only thing to do is to configure the path of the flex sdk. Debugging is nice and i love the code completition feature.

Where can I find "Device" file to add to EclipseME java project?

I installed JavaME and EclipseME, and I'm trying to make a Hello World to my Nokia5530. But the imports are not working.
This page says that I need a "Device" file, but I don't know where to find it.. any idea?
Since it appears no on else is helping with this, I will start an answer, and put in my last comment into here.
OK, you need to install the Nokia SDK and then import it, as explained here, though your phone may not be series 60, you will need to d/l and then import the appropriate nokia sdk version: http://wiki.forum.nokia.com/index.php/Installing_Java_ME_development_tools_for_S60#Configuring_EclipseME
I haven't tried the suggestions here as I primarily develop on Windows at the moment, but the idea of using wine to install the SDK, and then move the files to an appropriate place on Linux sounds like a reasonable suggestion. I don't know if the suggestion below of compiling it yourself would be useful, but, there were some suggestions in the link below that may help you solve this particular problem.
http://www.wirelessforums.org/alt-cellular-nokia/nokia-sdk-linux-8895.html

Eclipse and JavaFX? is it just me?

I'm looking at learning JavaFX.
I've tried setting Eclipse to develop a small app and I've downloaded the Eclipse plugin.
Eclipse JavaFX plugin
BUT... it just seems, well, flakey.
So I have 3 questions...
1: Is there a better plugin?
2: Or is there some great set of tutorials out there that I'm missing?
3: finally, is it meant to be easy to call Java code from FX? I'm stuggling, it there a good example somewhere?
On questions 1 & 2, Eclipse underlines code in red that just shouln't be. For example..
see this image... alt text http://www.qenet.co.uk/fx.jpg
Why does it underline bit of imports in red?
I know this is little of an open ended question. So I guess my main question is this...
Is my experiance of JavaFX and Eclipse the best I can hope for? Or am I missing something ?
(and I'm not looking for a Yes/No response) :-)
Just looking for a discussion on how best to learn/develop JavaFx.
This kind of thing is not unusual. A lot of Eclipse plugin editors have problems dealing with error tags and the like. For example,
I find that the XML and HTML file editors often fail to clear error and warning markers, and the only way to get rid of the markers it is close and reopen the file.
Even the Java viewer gets it wrong in some circumstances, though the problem goes away when the relevant files are saved.
When you update a spelling dictionary, the spelling checker is not rerun and the spelling error markers are not updated. In fact, you have to restart Eclipse for this to happen.
I suggest that you try saving files, and closing/reopening editors to see if that makes the bogus error markers go away. Then decide whether Eclipse is the right IDE for this task.
I've never used NetBeans (at all), but you would expect that it would do a better job supporting JavaFX. After all NetBeans and JavaFX are both high profile Sun products at the moment.
Netbeans is really the only way to go at the moment for JavaFX development. They are both Sun products and Sun has made sure the two work very well together. Before long Eclipse and others will catch up but for the moment that's how it is.
There is another JavaFX plug-in for Eclipse from Exadel. You can download it here: http://exadel.org/javafxplugin. Give it a try.
I have similar problems but funnily only under Linux, not Windows. Hope they change that soon.
To me this has happened when I wronlgy installed javafx sdk 1.2.3....This plugin works only with 1.2.1... :/

Categories