The folder of eclipse-plugin in JCDK 3.0.5u1 not found? - java

I am new to Java Card development.
I want to install the eclipse-plugin for Java Card Classic Development Kit 3.0.5u1 followed by http://blog.csdn.net/chenxu6/article/details/50731125
and download the java_card_kit-classic-3_0_5-u1-win32-do-b35-24_may_2017.msi from
http://www.oracle.com/technetwork/java/embedded/javacard/downloads/javacard-sdk-2043229.html.
after installed the msi, I can't find the folder eclipse-plugin to install the new feature of Java Card.
Anybody can tell me how to do?

The folder is inside C:\Program Files (x86)\Oracle\Java Card Development Kit 3.0.5u1\eclipse-plugin by default.
In your case, if you are not able to find the folder, it is possible that you might have installed the .msi in different folder/drive due to which you are unable to find the same.

New msi installer file is available now.
'java_card_kit-classic-3_0_5-u1-win32-do-b36-03_jul_2017.msi'
http://www.oracle.com/technetwork/java/embedded/javacard/downloads/javacard-sdk-2043229.html
This file contains 'eclipse-plugin' directory and files.
You should be able to install with it correctly.
I have installed previous version of msi installer java_card_kit-classic-3_0_5-u1-win32-do-b35-24_may_2017.msi
then this installer got same result with yours. Actually I could not use this.
I think this problem is relative to msi installer package.

Related

No Java folder located in Library despite JDK installation

Currently running OSX El Capitan on a recently set up computer. I'm trying to set up Java's unlimited crypto policy which requires me to modify some files within my current jre, but I can't find the Java folder that is supposed to be located within Library.
I've run /usr/libexec/java_home which shows me /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home however within my Library folder, there is no Java folder, even when I try and navigate through terminal it says Java folder doesn't exist. After trying to reinstall JDK 1.8, still no luck and I'm out of ideas.
This is not the Library folder in your home directory, this is the Library folder in the root file system on your main disk.
So in Terminal the command
cd /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk
should work.
For different releases of Java replace jdk1.8.0_91.jdk with the appropriate release.
To list what is in the directory use:
ls /Library/Java/JavaVirtualMachines
Go to Macintosh HD/Library/Java
not to username/Library

JMF and Netbeans

I have installed the JMF for windows (jmf-2_1_1e-windows-i586.exe) from the following link:
http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-client-419417.html#7372-jmf-2.1.1e-oth-JPR
but when I double click on the executable file it unpacked to:
C:\Users...\TEMP
I don't know how to solve this problem.
I need to add the jar files to Netbeans.
Any help would be appreciated.
During installation the JMF-2.1.1, you can specify destination folder where you want to install the JMF:
Change the destination folder and install it either to
C:\Program Files\JMF (for 64 bit JMF)
or
C:\Program Files(*86)\JMF (for 32 bit JMF)
location according to system requirements.
After the installation, you can find your jar files at location:
C:\Program Files (x86)\JMF2.1.1e\lib.
You can add your jar files(customizer.jar, jmf.jar, mediaplayer.jar, multiplayer.jar) by choosing the Add jar option under Libraries section in NetBeans.
I have installed JMF with Netbeans by installing the zip folder cross-platform java from the following link:
http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-client-419417.html#7372-jmf-2.1.1e-oth-JPR
and at NetBeans Project, I added to the project library the following .jar files:
customizer.jar
jmf.jar
mediaplayer.jar
multiplayer.jar
I hope this will help.

jar to exe convert problem

hi i converted my jar file into an exe using jsmooth but when i install it, it shows an error like java not found.
Please help me, how can I add the jre to my exe wrapper so this problem is solved.
It is trying to get the java installation to run your application, where it might be searching in JAVA_HOME, So if the JAVA_HOME is not set in the machine where you installing your application then try to install the java and set the JAVA_HOME as a pre-requisite of your installation.
I don't believe JSmooth can actually bundle a JRE with the exe. What you can do is tell JSmooth where to expect the JRE when running the exe (as in the same folder the exe is run from). If you do this you simply need to zip the exe and a JRE up, and distribute that.
The end user would unzip this, and the resulting folder would contain your exe and the JRE. Since JSmooth knows where to look relative your exe, it can find the JRE.
i have use it using launch4j
follow the following steps
1-create project directory called e.g:project
2-copy the runnable jar file to it
3-copy the jre directory to it u can rename it or keep name as it e.g i will call myjre
run launch4j program :
1- fill the basic tap with required information .
2- go to JRE tap there is a field called (bundle JRE path ) write "myjre" add min Jar virsion 1,6 it will case you an error if you do not fill this fields
and then click run button to generate exe file , you have to remember to keep the myjre directory with along side with executable exe file
e.g the application directory should contains :
1- [you app name].exe
2-myjre
in this description you can run your application with no care if jre is installed in a machine or not and become portable
Good Luck , feel free to contact me for more details

How to install eclipse for java developer,c/c++ developer, php developer at the same time?

Now I am trying to install eclipse on my computer under Windows 7. The problem is how to install the eclipse for java,c/c++,php,javascript concurrently?
Would donwloading the four zip files and then unziping them all into one directly say d:\eclipse works?
Is there any good tutorials for installation/configuration of eclipse?
The zips are just pre-bundled archives of Eclipse plus the relevant plug-ins. Just pick one, install it, then use Help | Install New Software to add the other plug-ins you want.
You can download all the zip directory and unzip it in the same folder (e.g. ECLIPSE_HOME) and run eclipse. Eclipse will first inspect it 'plugins', 'features` folders and update configurations for future use.
Alternatively, you can download the main eclipse (Simple Eclipse for Java SE) and goto Help --> Install New Software menu and select the C++ packages (and all relevant packages) you need and install.
You could either download eclipse for one of the languages and then download plugins for that one or you could download the four separate zips and unzip them to the same PARENT folder!
Like:
/Eclipse/Java
/Eclipse/C
/Eclipse/Cpp
/Eclipse/Php
I'm not sure what would happen if you'd unzip them to the same folder, but I would dissuade it. By unzipping them to a separate folder you can launch a specific eclipse installation for one of the views, so you won't have to switch views.
Also, I remember that having one eclipse version with multiple plugins tends to make eclipse messy (at least at the time when I was using it, more or less a year ago)

JSmooth question on bundling a JRE

I'm trying to bundle a JRE with my jar file so that I can run my application on any windows computer, regardless of if it has Java or not. The jsmooth manual says:
For the option to work correctly, you have to put a JRE in a directory near the EXE (generally in a subdirectory called "jre" or whatever). Once the exe is generated, it will FIRST try to locate the JRE at the location mentioned. If it can't be found there, then it will fallback in the normal jre look-up mode (search for a jre or a jdk in the Windows registry or in commonly-used environment variables). There is no JVM-version check when using a bundled JRE, as the packager is supposed to bundle a suitable JVM for the application.
Does this mean that the jre subfolder should be included in the jar, be its own separate jar, or put in the folder that comes along with the exe? If it is supposed to be in a folder with the exe, how can I specify the relative path to the jre subfolder?
My directories are as follows:
setup/
-jre/
-myprogram.exe
I tried using ..\jre, .\jre, ..\setup\jre in the GUI screen, but none of them worked.
Any ideas or leads would be greatly appreciated. Thanks so much!
EDIT: when I tried jre (and ..\jre I think), I got the following error message from windows when I tried running it "MyProgram.exe has stopped running." When I look at the problem details, it says APPCRASH and the fault module name is jvm.dll
just put the "jre" folder next to the exe, and write "jre" (without quotes) in the GUI of jsmooth
As an alternative, I would suggest using the mature open source project, NSIS. You could write an installer that would download and install the JRE, and then create shortcuts to run your program.
Here are some useful links:
http://nsis.sourceforge.net/Simple_Java_Runtime_Download_Script
http://nsis.sourceforge.net/Java_Launcher
Have you tried Launch4J (http://launch4j.sourceforge.net/), we switched from JSmooth to this a while ago, as it was more up to date and had more features.
But, put the jre folder in the same folder as the .exe, then use jre\ as the path to it. You'll need to make sure the working folder of the .exe is the installation folder though. And make sure you have a full JRE in the jre folder.

Categories