I am trying to use the calendar plug in by jfxtras. I originally tried setting the project up as a maven project or gradle project and importing the jfxtras-all, and setting the snapshot to latest. Unfortunately it seems that iCalendarfx and iCalendarAgenda are not included in this. So I tried just downloading the zip on github. But after setting a file up that had them all in the jfxtras package it gave me a Java.lang.runtime exception. I think maybe it would be best to make a jar of these libraries but I don't really know. Any suggestions as to how to include these libraries would be helpful thanks.
I finally got it working. I included every library in maven separately. For some reason labs has to have a snapshot of 8.0-r4 instead of 8.0-r5. And then I downloaded the zip from github and just included the Java files of iCalendaragenda and iCalendar fx.
Related
I have tried creating a jar file for the Google Volley library but I keep failing. I have tried looking around for the LATEST one, and can't find any. Would it be possible if someone could kindly give me the latest jar file if possible.
Would mean a lot,
Thanks
IMO you can try the Jar file from here or you can use Google Volley source code files in your project as the way I use in my GitHub sample project. Hope it helps!
The best and easiest way is to add the following dependency to your app's build.gradle file:
dependencies {
compile 'com.android.volley:volley:1.1.0'
}
or if you are unable to do so. The other possible solution is cloning the Volley. Clone the repository and then follow this guide to import it as a new module.
git clone https://github.com/google/volley
I am trying to understand how spring-security-oauth2, therefore trying to run sparklr2 sample with source code of spring-security-oauth project.
downloaded the source code of spring-security-oauth, add it to sparklr2 build path, remove spring-security-oauth2 from maven pom, then run the project.
failed with file not found exception, missing GlobalMethodSecurityConfiguration.class, what does it means? am I suppose too create a GlobalMethodSecurityConfiguration.java? or missing some annotation dependency?
I figure it out, do not need to build with source code, just build with maven dependency, click "attach source code", then eclipse will be about to set breakpoints and debug.
P.S. need to download source code of spring oauth using git.
I am trying to use BinDeps to download a package dependency. After reading the documentation I am still a little confused over the difference between Sources and Binaries.
Can someone explain how they are different?
If I just want to download a .so file from a specified URL, and have it placed in usr/lib, which one should I use?
Thank you.
I believe Sources are for downloading the actual source code of a project which would then use a BuildProcess or SimpleBuild to compile. Binaries is for downloading pre-compiled shared libraries.
This is my first post ever but I intend to use this more often in the future so please be critical if I do something wrong.
I have done research on the topic and have already attempted everything from using the command line to Eclipse's File>export>jar and choosing the appropriate options.
Basically I have attempted everything suggested in the following two links:
Java: export to an .jar file in eclipse
http://docs.oracle.com/javase/tutorial/deployment/jar/basicsindex.html
The results of my efforts are:
1) a jar file is created
2) when I try to run it the error is "Failed to load Main-Class manifest attribute from test.jar"
I assure you that I have indeed created a "manifest.txt" file in my project that consists of
"Main-Class: Login
"
I even include a newline because I hear that is necessary in some instances.
Does anyone know what I could be missing? Or better yet can anyone please provide an extremely detailed explanation of how to create a jar. This could be either from command line or eclipse.
My current project is setup where I have three java files in my workspace: Login, NewFrame, and NewUser. Login has the main method which will eventually call the other files. These three files are in the default package. The projects name is JavaVersion.
Thanks.
Thank you Antimony for your interest and help. After more tinkering I was able to figure it out for myself. Turns out I was never correctly defining the entry point. For anyone looking to export a jar in Eclipse I would also like to recommend this link.
How do you build a JAR in eclipse with a custom manifest file?
I'm a bit confused. I need to compile a project in jDeveloper 11.1.1.6.0. The server side of the project is deployed on the Glassfish server. On the machine of the project's creator everything compiles without any problems.
Using project properties -> Libraries and Classpath I added the libraries such as gf-client.jar, security etc. from $glassfish_home/glassfish/modules and some others (e.g. hibernate3.jar from hibernate dir).
When I try to compile the project I receive the following errors:
package javax.annotation.security does not exist
and
package javax.persistence does not exist.
I suppose that I miss some jars to include. I tried to find which jars (from Glassfish or from JDK) contain javax.annotation.* and javax.persistence.* but I couldn't.
If you have any ideas I would be thankful!
I was having the same problem and was able to solve it by adding a couple of dependencies to the Maven pom.xml file. See this answer for more details.
So I found the source of the problem. The application consists of 2 projects, of which only one (mentioned in the question) uses EJB. I'm not sure if it is the way it should be, but I tried adding ejb-files to another project. And after clean all and rebuild all it compiled like a charm for me. I hope this will help somebody in the future.