English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

when i try to run ss.jar file, comp. says "java not found"
which software should i install
1. jdk
2. jre

2007-12-16 01:20:54 · 5 answers · asked by Anonymous in Computers & Internet Software

5 answers

First of all u need JRE .. But if u want u can install JDK which installs JRE either. JDK is used for compiling jav program, ie in development of java appliaction..JRE is need to run those programs/application.
JAR file is a collection files that r needed during the execution of that application.. generally jar file will have a manifest file which specifies which java class file is to executed .. in that case u just need to type these.
"java -jar filename.jar" (without quotes)

In some cases it wont be , so u need to specify the class like this.
"java -classpath filename.jar filename"
This also sometime maynot work if the classpath differs from jar filename...
U can view the jar file content using "winrar" and other compressing utilities.

NOTE: Make sure the jar file has an executable class file.

Try these links also:
http://java.sun.com/docs/books/tutorial/deployment/jar/
http://en.wikipedia.org/wiki/JAR_(file_format)

2007-12-17 00:06:58 · answer #1 · answered by aravind_mib 2 · 0 0

You should install JDK or JRE. JDK is the complete toolkit to write the java programs as well as execute them. whereas the JRE only allows to execute the java programs. JAR expands to JAVA ARCHIVE File, thats the java way of packing application files just like EXE in WINDOWS.

To answer your question,
1. Either JDK or JRE should be installed
2. You can simply double click the JAR file which would run directly or Open the command promt, go to the directory where the JAR File is present and type this command JAVA -JAR ss.jar


NOTE:
to download JRE,
http://www.java.com/en/download/manual.jsp
to download JDK,
http://java.sun.com/javase/6/

2007-12-16 01:41:50 · answer #2 · answered by Rajaram Balakrishnan 2 · 0 1

You should install the jre. The jdk is the Java developer kit which the jre is the Java runtime environment.

2007-12-16 01:25:33 · answer #3 · answered by David B 4 · 0 0

3gp files cannot be converted back to media player files hence download a vlc player and runt the files

2016-05-24 04:50:56 · answer #4 · answered by ? 3 · 0 0

You can also use third party software like Archiver.exe from Linos software (free trial available). It opens jar, rar, zip, etc. files

2007-12-16 01:41:12 · answer #5 · answered by HazMat 4 · 0 0

use WINRAR. associate WINRAR with .jar file extensions.

2007-12-16 07:32:17 · answer #6 · answered by achates 2 · 0 1

fedest.com, questions and answers