51 Topics

Member Avatar for
Member Avatar for Szabi Zsoldos

Hi guys, I've made an application in JavaFX and I do want to export it into a runnable jar. When I run it from Eclipse or Netbeans, it works well. But when I run it from windows as an executable jar I get this error for my layout. Exception in …

Member Avatar for Szabi Zsoldos
0
4K
Member Avatar for scheppy

Hello All. I have a program that automatically restarts itself atfer a certain amount of time. I am doing this to test some things out. The program is wrapped in a jar. I run the jar from terminal with java -jar ProgramName.jar It will run and will output all the …

Member Avatar for scheppy
0
376
Member Avatar for Benny_1

Hi guys. I'm working on a christmas present for my dad, it's a program that installs 8 Black Keys songs on his computer. I'm having some trouble with it though. I can't figure out how to get the files out of the jar file. I used to access them with …

Member Avatar for Benny_1
0
441
Member Avatar for hwoarang69

using: eclipse I have created a android app and I am trying to add some ads on to it. I am using admob.com but I am not sure what I am doing wrong. First here is error I am getting: #------- #ERROR: #------- 08-27 23:09:03.650: E/AndroidRuntime(26340): FATAL EXCEPTION: main 08-27 …

Member Avatar for peter_budo
0
1K
Member Avatar for Mohamed_30
Member Avatar for JamesCherrill
0
230
Member Avatar for cool_zephyr

I'm packaging my java program as a jar..it includes mysql-connector.jar..it runs fine when i run it in eclipse..now i need to distriute the jar file..I packaged the jar file and when I run it through command line using java -jar myprogram.jar, it throws ClassNotFoundException: com.mysql.jdbc.Driver could anyone please tell me …

Member Avatar for cool_zephyr
0
343
Member Avatar for rgkrish183

i'm creating the Simple CRUD Using Jsp, Servlet and MySQL program and i'm using the eclipse, and i all most done it, finally i'm going to run myself, it can't be run. i will install the jar file of jstl, servlet, mysql connector and finally standard.jar files are installed. but …

Member Avatar for rgkrish183
0
1K
Member Avatar for rgkrish183

hey buddy's i had one problem in servlet in jsp program. Exactly i'm getting this error, why i'm getting this error and how to solve this error., Have some tips: thanks in advance.,

Member Avatar for rgkrish183
0
277
Member Avatar for ccyg

the codes running ok on NetBeans, and wih the error messages while I am running the jar file. Any helps with the following code would be very appreciated. Scanner file = null; while(file.hasNext()){ if (file.hasNextInt()) list.add(file.nextInt()); else file.next(); }

Member Avatar for hrishi_1
0
271
Member Avatar for sankubha
Member Avatar for stultuske
0
135
Member Avatar for Gobumanikandan

Hi I have a three folders i have compressed all the folders using jar. I want to access one of the java file inside jar file that is actually inside one of the folders to start the application.

Member Avatar for JamesCherrill
0
277
Member Avatar for praom2104

Hello, I am trying to execute a jar file with higher version of jdk. But it fails & the worst part is I am not getting any error message. Jar file compiled verison: jdk 1.5 Executed version: jdk 1.7 I assume the jar file is downward compatible. thoughts pls? Thanks! …

Member Avatar for praom2104
0
274
Member Avatar for SAM2012

Hi, I need help in running a software, thay have plugins in the from of jar files. which I dont know how to run and execute. I have JDK installed. Please suggest. Thank you so much.

Member Avatar for SAM2012
0
301
Member Avatar for JamesCherrill

I'm suffering from a complete brainfreeze here; maybe some NetBeans user can un-block me without making me look like a complete idiot? Thanks. I usually use Eclipse, but for this particular project it has to be NetBeans. I have two projects defined. One is the main project with packages - …

Member Avatar for JamesCherrill
0
274
Member Avatar for daksh1998

Hello! I have made a java program in Netbeans IDE (version 7.1). I want to make a file that could run my project without IDE (with the help of just Java, JRE, etc).... I had made a JAR file to try this, but when I open the file, i cant …

Member Avatar for stultuske
0
3K
Member Avatar for Nagarajan M

I have .exe file called Myapp.exe.. Now i want to convert .exe to jar file.. That jar file should work in non java system also? I dont have any idea to implement it.. Can anyone plz suggest me how to do it? Thanks in advance..

Member Avatar for stultuske
0
3K
Member Avatar for Nagarajan M

I have an jar called Myapp.jar.. It is working fine in java installed system.. And my task is to Bundle jre inside jar(Not along with jar(i.e we can put jre and jar in same folder to run a jar as given in following url http://www.mindfiresolutions.com/Run-jar-without-jre-on-windows-machine-76.php )). and I should not …

Member Avatar for Nagarajan M
0
3K
Member Avatar for borix134

Im using a Mac, lwjgl, and Java 7 (Execution enviroment: 6). Hey Im trying to build my project and It gives me a message that says: A fatal error has been detected by the Java Runtime Environment, It works fine when I run it in eclipse, and the execution enviroment …

Member Avatar for Taywin
0
132
Member Avatar for RLS0812_1

I have ran into an issue when programming a plugin that is dependent on another plugin. The plugin in question has 3 different versions, all of them are incomparable with each other. Instead of writing 3 separate plugins, I would like to know which .jar file exists, and import the …

Member Avatar for RLS0812_1
0
301
Member Avatar for System Networks

How do I access My jar in the mac os terminal. I have a jar in my desc top called System FRONT.jar First, I put `cd desktop` then i put java -jar System FRONT.jar It says unable to access jarfile system Then I tried another jar which does not exist, …

Member Avatar for ~s.o.s~
0
673
Member Avatar for thompsonSensibl

Hello. I'm trying to make my first java executable file. My Java project imports images from a different directory, and uses them. After I make the executable file (through Export in Eclipse) and I delete the directory of images, the executable doesn't show the images. How can I make the …

Member Avatar for stultuske
0
193
Member Avatar for Random_Integer

Right now I'm writing a java program that makes special edits to the hosts file on windows. Some people at work were complaining about it. Anyways, the program is finished everything works great! However I have to run eclipse as admin to give it permission to write in the hosts …

Member Avatar for Software guy
0
257
Member Avatar for rtellez700

I was wondering if it is possible to export a project in eclipse as a jar file but that doesnt include the .java source code files. For example, say i wanted to distribute my program to others but didnt want them to be able to alter my .java source codes. …

Member Avatar for JamesCherrill
0
266
Member Avatar for rtellez700

Hello I am running into an error after creating the jar file. I get a message stating that the main class to my program could not be found when in fact there is a main class. If someone could give me a hand and lead me in the right direction …

Member Avatar for NormR1
0
1K
Member Avatar for weeraa

This post about J2ME in Netbeans. Actually I'm new to mobile development and so interest to learn it. I want to create a jar file and should be attached database to it. (Netbeans has built in database creating facility, which i want to use) There are a lot of codes …

Member Avatar for weeraa
0
319
Member Avatar for c.pentasuglia

So i have a jar of a project that i was working on, and i want to use it as a library in another project (resource adapter). I have brought it into the libraries folder, and used an import. I basically want to be able to call that whole project …

Member Avatar for c.pentasuglia
0
293
Member Avatar for c.pentasuglia

So i'm working on a java program that will eventually be used like a library on an EIS system. My next step is to work with the resource adapter, and i've never done anything like this before. I understand the architecture in this case and what the resource adapter does, …

0
126
Member Avatar for c.pentasuglia

In a nutshell i have a java program that takes parameters from an XML file. I made a .jar file from my java project. Within the java project i have the XML file set to a static directory, i'd like to be able to change that so the jar would …

Member Avatar for c.pentasuglia
0
240
Member Avatar for vishnukumar

Hi, I am vishnu kumar. I knew the basics of Java but this is the first time i am building a project based on java (Java Swing actually). This is my final semester project and for last two months, i am doing my project. I initially thought the database(along with …

Member Avatar for vishnukumar
0
726
Member Avatar for end3r

Hi, I have a problem with some resource files (i.e. .txt) which I have created in the project under let's say com/myapp/resources. I have a class created: com.myapp.util.MyClass which reference a file.txt located in resources folder: [CODE] MyClass.class.getResourceAsStream("../resources/file.txt"); [/CODE] The project is created in eclipse. After I export the project …

Member Avatar for end3r
0
308

The End.