jdk portecle error
Hi,
I've installed portecle and the latest version of jdk through slackbuilds.org, but when I try to start portecle I get this: Code:
Exception in thread "main" java.lang.NoClassDefFoundError: net.sf.portecle.FPortecle |
Hello,
Quote:
1. disconnect/reconnect 2. run the commnand : Code:
If this does not solve the problem, post the output of the commands: Code:
$ echo $PATH SeB |
Thanks for the reply! I tested your suggestion, but it didn't work. Here are the command outputs:
Code:
bash-4.2$ echo $PATH |
Hello,
Quote:
(1) to ensure the PATH is correctly set once you have installed the jdk, do not forget to disconnect/reconnect or run the commands below: Code:
$ . /etc/profile.d/jdk.sh If that fails, post the output of commands: Code:
$ ls -l /etc/profile.d/*jdk* SeB |
I did the following:
Code:
su Code:
Exception in thread "main" java.lang.NoClassDefFoundError: net.sf.portecle.FPortecle Code:
bash-4.2# ls -l /etc/profile.d/*jdk* |
Hello,
what's the output of command : Code:
ls -l /usr/bin/java SeB |
Quote:
I'd try completely removing java, running those commands to make sure there's no stragglers, then try installing java again. |
Quote:
Code:
$ gij -version -- SeB |
Code:
bash-4.2# ls -l /usr/bin/java Code:
bash-4.2# java |
Hello,
Quote:
Code:
$ rm /usr/bin/java Quote:
Once you have installed java, you (really) need to logoff/logon to ensure the PATH is correctly set. If you don't want to logoff, you can run the command Code:
. /etc/profile.d/jdk.sh -- SeB |
Thanks a lot! Now it works perfectly!
|
I tried to use jarsigner but got an error. Could that error be related to my previous issue? I try to sign an apk package written in Kivy according to
https://groups.google.com/forum/#!to...rs/pBtbg8aSlNo Here is the error: Code:
bash-4.2$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ./keystores/XYZ.keystore ./XyZ/bin/XYZ-0.0.1-release-unsigned.apk XyZ |
Hello,
Quote:
Maybe you have created the keystore : 1. with gcc/gcj keytool, which creates keystore of type gkr which is not recognized (AFAIK) by oracle/jdk. 2. with oracle/jdk keytool, but with another type like PKCS12, in which case, you can try to pass this type to jarsigner as below : Code:
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ./keystores/XYZ.keystore -storetype pkcs12 ./XyZ/bin/XYZ-0.0.1-release-unsigned.apk XyZ -- SeB |
Thanks again! The problem seems to be solved with -storetype pkcs12, but now I get a new error:
Code:
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ./keystores/XYZ.keystore -storetype pkcs12 ./XyZ/bin/XYZ-0.0.1-release-unsigned.apk XyZ -storepass XYZ |
Hello,
Quote:
Code:
$ keytool -list -storetype pkcs12 -keystore ./keystores/XYZ.keystore SeB |
All times are GMT -5. The time now is 08:52 AM. |