How to replace google dependencies with jar file

I am going to implement google firebase messaging to my android project. Google documentation offers using dependencies. I am confused if I can import JAR files instead of dependencies or JAR and dependencies are both needed? Would importing JAR file...
more »

2017-12-01 19:12 (1) Answers

Running an AVRdude command inside a JAR

I've been working on a program as a hobby for some time now. The whole purpose of it is to create a .jar file that can be executed from any PC, anywhere. I'm using AVRdude to upload .HEX files to Arduino's. I have included the .exe and .conf in sour...
more »

2017-11-19 15:11 (0) Answers

How to convert an .aar file into a .jar

To work with Eclipse IDE in for an IBM MobileFirst Platform project, I need to convert an .aar file into a .jar. I tried to extract the classes.jar file, but it is practically empty, with none class. I mean, at the Android SDK, the extras/android/m2r...
more »

2017-11-17 21:11 (1) Answers

URL for image files are null while executing jar

DISCLAIMER: I know there are multiple answers already to this question, and I've tried those applicable to my case. The reason I am asking it again is because they didn't work. I have some images to show in my application. The images are in the buil...
more »

2017-11-17 09:11 (0) Answers

Processing Jars in Eclipse

I have recently started working with a friend on eclipse, using Processing. All the commits are fine and we can Push and Pull them correctly, but there is one problem: We import an external jar from proccessing ("Core.jar") which is saved on each o...
more »

2017-11-09 19:11 (1) Answers

Getting path from exported jar not working

What I am doing: I have a piece of code in which I am getting the runnable path and setting it to a label on button click for testing purpose to successfully get the running jar path at runtime. Problem: When running through eclipse debug or run m...
more »

2017-11-07 07:11 (1) Answers

How to use jar file in Ruby Mine

I have one Java Jar file and i am able to use successfully in my selenium framework. I would like to use the same jar file in my Ruby automation. Can anyone help me ? Note: I am using PDF-util jar file (To compare two pdf's, pixel to pixel) ...
more »

2017-11-02 23:11 (1) Answers

What jars are required to use the latest Mockito?

I'm using an Eclipse project and don't want to use a Maven pom. I want to drop the jars needed for Mockito into a directory and reference them from Eclipse build properties. But Mockito.org doesn't supply a download link nor mention what jars are ne...
more »

2017-10-04 06:10 (2) Answers

.jar missing in deployed JBoss .war

I know this has been asked a few times in the past, but I'm unable to find a solution (except for the "add the .jar to your project manually in Eclipse"..) What I have: A Maven project A .jar web-service we've created (let's call it kc.ourwebservi...
more »

2017-08-30 09:08 (0) Answers

Deploying Jar file no main class found eclipse

Hi I have seen some threads about the problem. But none of them solved my problem. When using the Export option from exlipse selecting jar I configure it like this: Jar Export Settings Jar Export Settings 2 so far so good, the Main class is detec...
more »

2017-08-09 11:08 (1) Answers

Images Won't Appear In A Jar

So I am making a basic text adventure game using Java, and I have decided to include images. The code I use to load my images onto the program is this: imagePanel = new JPanel(); imagePanel.setBounds(50, 50, 400, 260); imagePanel.setBackground(Color...
more »

2017-06-18 18:06 (1) Answers

Creating Jars without Main() method

I have downloaded a project from SVN and have imported the same in my Eclipse IDE.The project have several .java files but none of them have any main() method. It is required to make some minor changes in one of the file and then create a new versi...
more »

2017-06-06 13:06 (2) Answers

unrecognized option : --print-module-descriptor

I am following the steps in Java 9 Jigsaw early access release quick start guide at http://openjdk.java.net/projects/jigsaw/quick-start ➜ tmp java --version java 9-ea Java(TM) SE Runtime Environment (build 9-ea+172) Java HotSpot(TM) 64-Bit Server...
more »

2017-06-04 19:06 (1) Answers

Runnable JAR opened, but doesn't work

So, I made JavaFX project and it works perfectly in IDE (checked by Eclipse and IntelliJIDEA), but exported runnable jar doesn't work (checked by Eclipse and IntelliJIDEA). I cannot suppose, where is problem, because I checked export and running this...
more »

2017-05-19 19:05 (0) Answers