I am new to javacard applet development.How many development tools are there now? Which is the simplest for beginners? As simple as possible...
Thanks in advance
There is a development kits called JCIDE, is free. After installation, can be used directly, no configuration parameters. Unfortunately, when debugging, only set one breakpoint, but normal use is enough. I feel very good, recommended to you.
Here's a ready made set of applets that you can use with standard Eclipse: https://github.com/gracebear/AppletPlayground
There are also links to other open source and free-n-easy to use components.
Normally I use Jcop, which is the a plugin of eclipse. You can install the eclipse first . And then add the JCOP plugin into it.
To starting developing an applet for Java Card :
1. Download and install Java JDK. (on Oracle website), and setup your JAVA_HOME
2. Download eclipse for Java developer in eclipse.org (newest version is Neon). Extract to use it, it's portable app.
3. Download Java Card JCDK 3.0.5 (newest) and install.
4. Install the JCDK plugin on Eclipse
Note: You can following the getting started document in JCDK 3.0.5 how to setup environment and running or compiling the applet.
Related
As there is no OSX specific version, I downloaded the Linux version. Unzipped it and launched the launchpad.app.
I see a java applet on screen, but when I click on install code rally, I get no response.
Please advise on steps to install. Thank you very much.
From CodeRally Manual Installation page:
If you want to install Code Rally but do not want to use the installer
from our downloads page or are using OSX then the following
instructions will guide you through the install process.
Basically you need to build the code manually instead of using an installer. Weird choice from IBM side that there is no installer for OSX, but that's life, I guess.
You don't need to build the code yourself - the manual steps for installation basically involves downloading the different components yourself and installing them.
Ive downloaded eclipse classic (3.7.1) today to set up an android development environment.
I also wanted to set up a java mobile dev env with java me 3.0 sdk.
The thing is i dont want to download another eclipse for the java part, so am asking what should i download to add up to my "eclipse classic" install so that i can work on java mobile?
Are you looking for something like EclipseME?
did you even try looking for an eclipse plugin? perhaps there is 'EclipseME'.
google be my guide anyone?
update your install via these instructions
http://eclipseme.org/docs/installEclipseME.html
I recently had to migrate to a new machine and re-installed Eclipse.
At the moment, I need to generate JAXB classes from an xsd. I cannot quite remember what I installed, but in my old Eclipse I had the option -rightclick-generate-jaxb classes.
Who knows what I have to install/plug-in to get it back?
I was looking at installing Dali, which seems like it could be right, but I am pretty sure I did not install Dali last time. I also included the jaxb jars in my build path, as last time, so that should be ok.
I am using Eclipse 3.6 and Java SE 1.6.
If you don't have JavaEE:
Help>>Install New Software>>Works with:--All Available Sites--
Search for JAXB
Then select Web, XML, Java EE and OSGi Enterprise Development and install.
After you restart Eclipse you should see the generate option.
A simple fix for this problem - rather than worrying about adding additional plugins or installs - is to install Eclipse IDE for Java EE Developers rather than Eclipse Classic (both to be found here). This comes with the JAXB support and therefore provides the >Generate>Jaxb classes option.
The above methods may work, but actually the options comes from a plugin called Web Tools Platform which comes along with Eclipse IDE for Java EE Developers.
Don't worry about reinstalling eclipse or try out other methods. No matter what eclipse you use simply install this plugin by following the below procedure. You will get the "JAXB Classes" Option on click of "Generate" button.
Help --> Install New Software --> Add
Name : Web Tools Platform
Location : http://download.eclipse.org/webtools/repository/helios
Hint : In case if you are using a different version replace helios with your eclipse version name. I used it as luna. So the path looks like http://download.eclipse.org/webtools/repository/luna
And restart eclipse. Now you will have that option.
(I'm using IBM's Eclipse-based RAD, so I don't know whether this applies to raw Eclipse.)
Have a look at your project Facets (select project, rightClick->Properties, Project Facets) I have the option of selecting JAX/RS.
later: I've checked my plugins and by default I get Dali installed and it does contain some JAX/B-related stuff. I suspect you do need this.
After a lot of research here is what I have done to fix the issue.
Windows> Preferences> Java> InstalledJREs...make sure to point your jre to the jdk directory. I was pointing to JRE and as soon as I changed it to JDK, it started working.
Hope this will help you guys.
I installed this plugin
http://java.net/downloads/jaxb-workshop/IDE%20plugins/jaxbw-plugin.zip
i.e. unzip and copy to eclipse/plugin folder.
It adds an entry "JAXB 2.1 > Run XJC" to the context menu of *.xsd files.
So the menu's not really in the proper place, but it works.
In order to support the standard JAXB APIs in the IntelliJ IDEA Community Edition environment, you need to make some adjustments. One way to implement JAXB technology is to connect the xjc.exe utility included in the JDK toolkit. This utility can be launched at the command prompt, but it is advisable to configure the context menu:
In the Settings window, select Tools | External Tools and press the
"+" button.
In the Edit Toolbox dialog enter:
the name (Name :) of the new Generate JAXB Classes command;
the path to the xjc.exe utility (Program :), which should be selected on the particular computer in the file selection dialog(button "..." )`
parameters (Parameters :) which in our case will be as follows:
$ p $ FileFQPackage $ $ SourcepathEntry $ $ FilePath $
In order for the created command to work correctly, the schema file should be placed in a new package, which will then appear with the generated files.
In the settings window, Tools | External Tools - "Your command name" will appear.
All you need is to open your schema file and run the command.
you may download JAXB Eclipse Plug-In
jaxb eclipse plugin
I had the same issue while attempting to generate java classes from xsd file.
My installed Eclipse is:
Eclipse Java EE IDE for Web Developers
Version: Oxygen.3a Release (4.7.3a)
Build id: 20180405-1200
I solved it changing the workspace default JRE from JRE to JDK in Project Properties / Java Build Path / Libraries
This link describes how the problem arises:
https://www.youtube.com/watch?v=zgblFjA-5Ks
This link explains how to change the default JRE.
https://www.zkoss.org/wiki/Setting_Default_JRE_In_Eclipse
Hope this helps
If you're using Eclipse EE all you have to do is switch your running environment from JRE to JDK and that should fix it. Windows -> Preference -> Java -> Installed JRE -> Add - > (Choose Standard VM) Then Select JDK!
Then Execution Environments under Installed JRE select your JavaSE-1.8 or your version and also select JDK!
I need to get a local setup of Java working so I can start coding locally and doing builds.
I know that Java is built into macs automatically. I am running version 1.6.0_22
I found an article on how to install tomcat:
Tomcat on a Mac
I got the Tomcat server running to where i can see the default Tomcat Page.
Started to dig deeper but hit a huge wall on getting to a point where i could use an IDE to get coding.
I downloaded Eclipse for the mac (because it was free and seemed to be the more popular one out there)
So where do i need to go from here to get a working environment to test code from our svn?
Any good articles that i can read. It was hard to find some (recent) documentation on how to get this working on a mac.
Which version of Eclipse did you download? I'm guessing you downloaded Eclipse IDE for Java Developers, which doesn't have the nice WTP stuff that you probably want.
You'll need a heavier flavor of Eclipse, like Eclipse IDE for Java EE Developers. I'm not sure if there's a lighter (in-between) flavor that has WTP, etc., without all the Java EE stuff.
Assuming you have some sort of SVN client and know how to create a trunk on your local machine, do that, and then all you have to do from there is open the java project in that trunk within Eclipse. Once you have that open, on the Eclipse toolbar just build your code, make sure that works, and then run it in the same fashion.
Ok, I have Netbeans 6.7.1 installed with the default Java SDK. I'm using Linux Mint.
Now I'm told that I have to download Java Platform Micro Edition Software Development Kit 3.0
So, should I download this? And once I download and install this in Linux, what do I have to install for Netbeans so I can create a Mobile Application? I'm fairly new to this environment so please any advice is welcome! :)
Make sure you have Java installed (version >= 6 ) and then simply go to: http://netbeans.org/downloads/ and download the version that comes with JAVA ME support. Then install it, and you are ready to go :)
And no, you shouldn't download JAVA ME SDK 3.0 since it is not supported in linux. sigh
While at it I'd recommend you to read also the links below:
Also if you're just getting started here are some nicely written tutorials with examples:
http://today.java.net/pub/a/today/2005/02/09/j2me1.html
http://today.java.net/pub/a/today/2005/05/03/midletUI.html
http://today.java.net/pub/a/today/2005/07/07/j2me3.html
http://today.java.net/pub/a/today/2005/09/27/j2me4.html
I think this only applies if you download a version without JavaME modules. If you download the version with JavaME modules, you don't have to do this. The provision is to allow you to install multiple versions of the emulator (including Nokia's) and work with them.
If you have downloaded a version of NetBeans without ME, then do this
1. Download the JavaME SDK and install that eg. /opt/java/javame
2. Install ME modules in NetBeans. Tools -> Plugins -> Installed and activate JavaME
3. Add the SDK in NetBeans Tools -> Java Platforms -> Add Platform -> Java ME Platform Emulator and follow the instructions
I'm using NB 6.8 BTW.
In NetBeans, go to the "Tools/Plugins" menu, then in the "Available plugins" tab, select the plugins which are part of the "Java ME" category. now click "instal"... NetBeans will take care of downloading, installing and configuring everything for you.