Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8015499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:16:24+00:00 2026-06-04T20:16:24+00:00

I just wanted to test JAVACPP and tried the first example from the webpage

  • 0

I just wanted to test JAVACPP and tried the first example from the webpage within my eclipse:

http://code.google.com/p/javacpp/
(LegacyClass and LegacyLibrary)

As soon as I type:

javac -cp libs\javacpp.jar:. src\LegacyLibrary.java

into the commandline I get the following error message:

src\LegacyLibrary.java:1: error: package com.googlecode.javacpp does
not exist import com.googlecode.javacpp.*;

src\LegacyLibrary.java:2: error: package
com.googlecode.javacpp.annotation does not exist import
com.googlecode.javacpp.annotation.*;

src\LegacyLibrary.java:4: error: cannot find symbol
@Platform(include=”LegacyLibrary.h”)

symbol: class Platform src\LegacyLibrary.java:5: error: cannot find
symbol @Namespace(“LegacyLibrary”)

symbol: class Namespace src\LegacyLibrary.java:7: error: cannot find
symbol
public static class LegacyClass extends Pointer {
symbol: class Pointer location: class LegacyLibrary src\LegacyLibrary.java:13: error: cannot find symbol
public native @ByRef String get_property(); public native void
set_property(String property);
symbol: class ByRef location: class LegacyClass src\LegacyLibrary.java:16: error: cannot find symbol
public native @ByRef String property(); public native void property(String property);
symbol: class ByRef location: class LegacyClass src\LegacyLibrary.java:8: error: cannot find symbol
static { Loader.load(); }

symbol: variable Loader location: class LegacyClass 8 errors

Why do I get it?

Is it possible to use JavaCPP not having *.cpp and *.h file, but just having a *.dll file?
Or what exactly do I need for using this library?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T20:16:25+00:00Added an answer on June 4, 2026 at 8:16 pm

    You’re using Windows. Replace the colon ‘:’ by a semi-colon ‘;’.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

hm, i have an strange problem... i just wanted to test an app on
just wanted to ask where I define initial class properties? From other languages I
Just wanted to know how i would replace sitename.com with sitename2.com whenever a user
Just wanted to understand. I've just installed mongodb to test it on Windows OS.
I need the code to work on IE6+, just wanted to check I haven't
i just wanted to make a test, i'm used to work on jQuery but
I'm just playing around with JSP. I just wanted to test some <jsp:useBean> stuff,
I'm integrating capybara to a project. At first instance, I just wanted to check
I'm trying to change the ID of an element here: http://moemonty.com/chirp/CHIRP-JSON-test.html By using this
Just wanted to ask you about the drawbacks (I mean memory or reponse time)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.